xpxGetModelOpenModeBN

FUNCTION xpxGetModelOpenModeBN (repositoryName, modelName : STRING;
                                VAR modelOpenMode         : INTEGER)
                                status                    : INTEGER;

The xpxGetModelOpenModeBN function returns the actual open mode of the specified model modelname found in the specified repository in the argument modelOpenMode. The actual open mode can be one of the following integer constants: xpxRO for open for read only, xpxRW for open for read and write, xpxERW for open for exclusive read/write operations in an edmServer implementation (in a standalone implementation, xpxERW is equal to xpxRW), xpxNOACCESS when the model is not open.

Arguments


TypeNameComment
STRINGrepositoryNameThe name of the repository within the the EDMdatabase.
STRINGmodelNameThe name of the model within the the EDMdatabase.
INTEGERmodelOpenMode

The variable that will receive the current open mode of the specified model. The possible returned values are:

  • XPXRO  - model open for read only access.
  • XPXRW  - model open for read and write access.
  • XPXNOACCESS - model is closed, no access to the model is permitted.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â