Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
FUNCTION xpxCloseAllOpenModels (superuserPassword : STRING;   
                                options           : INTEGER)  -- xpxALL_MY_OPEN_MODELS or xpxALL_SERVER_OPEN_MODELS
                                status            : INTEGER;

Use this function to  close all open models

...

TypeNameComment
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

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
US:_r_XPX_Return_Value
US:_r_XPX_Return_Value
nopaneltrue

Options

...

 

OptionComment
xpxALL_SERVERS_OPEN_MODELS
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".
xpxALL_MY_OPEN_MODELS
When the option xpxALL_MY_OPEN_MODELS is specified, all open models, except system models, opened by the actual EDMapplicationServer, will be closed

...