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;

  1. The database version number.
  2. The database block size.
  3. 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


TypeNameComment
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


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

 

Options


  

 

Example


 

 

 

See also

Filter by label

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

 

Â