Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxCloseAllOpenModels (superuserPassword : STRING; -- optional; only relevant in EDMserver with options = xpxALL_SERVER_OPEN_MODELS options : INTEGER) -- xpxALL_MY_OPEN_MODELS or xpxALL_SERVER_OPEN_MODELS status : INTEGER; |
Use this function to ....to close all open models
Arguments
...
...
Type | Name | Comment |
STRING | superuserPassword | optional; The password for the superuser within the remote database. This argument is not required when the server context specifies communication type LOCAL_CONTEXT. This must be specified in case the calling user is not “superuser”, else this argument may be NULL.Only relevant in EDMserver with options = xpxALL_SERVER_OPEN_MODELS |
INTEGER | options | Specifies the options to be used in the invocation of this function. The <options> value can be specified as a bitwise OR between the actual options to enable.See detailed descriptions of the available options below |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
...
Option | Comment |
|
...
When the option xpxALL_SERVER_OPEN_MODELS is enabled, all models, except system models, opened in all EDMapplicatonServers will be closed. The actual caller must be running as "superuser" or provide the actual password for the "superuser" in the argument "superuserPassword". | |
|
...
When the option xpxALL_MY_OPEN_MODELS |
...
is specified, all open models, except system models, opened by the actual EDMapplicationServer, will be closed |
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
...