xpfGetModelOpenMode

FUNCTION xpfGetModelOpenMode (modelId       : GENERIC)
                               modelOpenMode : INTEGER;
                

The xpfGetModelOpenMode function returns the the current open mode in the argument <modelOpenMode>, i.e. the current access rights to the specified model, <modelId>.

Arguments


TypeNameComment
GENERICmodelIdInstance ID of the model within the EDMdatabase

Return Value


 

TypeNameComment
INTEGERmodelOpenModeAccess right for the given model. The possible values are
  • xpxRO  - model open for read only access.
  • xpxRW  - model open for read and write access.
  • xpxERW   - model open for exclusive read/write operations in an edmServer implementation (in a standalone implementation, xpxERW is equal to xpxRW)
  • xpxNOACCESS - model is closed, no access to the model is permitted.

Options


 

Example


<Missing Example>

 

See also

Filter by label

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