edmiRemoteGetDatabaseVersion
Â
EdmiError edmiRemoteGetDatabaseVersion (SdaiServerContext serverContextId, SdaiString location, SdaiString databaseName, SdaiInteger *databaseVersion, SdaiInteger *databaseBlockSize, SdaiInteger *maxModelsInDB, SdaiInvocationId *edmiInvocationId);
Returns info of about a remote EDMdatabase from a thick EDMclient. The info returned is;
- The database version number.
- The database block size.
- The maximum number of models that may be stored in the database.
The EDMdatabase needs not be open when this function is invoked.The main purpose of this function is to enable retrieval of this info from an EDMdatabase that cannot be opened due to incompatible block sizes and/or incompatible database versions within the EDMinterface of the EDMserver and the remote EDMdatabase. If an EDMdatabase cannot be opened due to incompatible block sizes, the block size of the EDMserver must be set equal to that of the remote EDMdatabase. If an EDMdatabase cannot be opened due to incompatible database versions, the remote EDMdatabase must be dumped by the EDMinterface of an EDMserver that supports the remote EDMdatabase version. Afterwards, it can be restored by the EDMinterface of the new EDMserver.Â
Arguments
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiString | location | The full path to the directory where the remote database files are located on the remote EDMserver |
SdaiString | databaseName | The name of the remote EDMdatabase. names are case sensitive on UNIX platforms and case insensitive on Windows platforms. |
SdaiInteger | databaseVersion | A variable that will receive the version number of the remote EDMdatabase |
SdaiInteger | databaseBlockSize | A variable that will receive the block size of the remote EDMdatabase |
SdaiInteger | maxModelsInDB | A variable that will receive the maximum number of models that may coexist in the remote EDMdatabase. |
SdaiInvocationId | edmiInvocationId | Currently not used. |
Return Value
Â
Options
 Â
Â
Example
Â
Â
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â
Â