edmiRemoteGetRepository
EdmiError edmiRemoteGetRepository(SdaiServerContext serverContextId, SdaiString repositoryName, SdaiRepository *repositoryId, SdaiInvocationId *edmiInvocationId);
Returns the repositoryId that uniquely identifies a repository in the remote EDMdatabase
Arguments
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiString | repositoryName | The name of the repository for which to get the repositoryId in the remote EDMdatabase Repository names are case sensitive. |
SdaiRepository | repositoryId | A variable that will receive the repositoryID that uniquely identifies the repository within 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
Â
 EdmiError rstat; SdaiServerContext myContext; SdaiModel modId, copyModId; SdaiRepository repositoryId; /* Create Server Context */ rstat = edmiDefineServerContext("MyContext", "Johnny", "Supervisor", "cf37ftr", "TCP", "9090", "MyServerHost", NULL, NULL, NULL, NULL, NULL, &myContext); /* Get the modelId of MyModel */ rstat = edmiRemoteGetModelBN(myContext, "DataRepository", "MyModel", &modId, NULL); /* Create a repository for containing my copy of MyModel */ rstat = edmiRemoteCreateRepository(myContext, "MyCopyRepository", NULL); /* Get the repositoryId */ rstat = edmiRemoteGetRepository(myContext, "MyCopyRepository", &repositoryId, NULL); /* Copy MyModel to MyCopy in MyCopyRepository */ rstat = edmiRemoteCopyModel(myContext, modId, repositoryId, "MyCopy", ©ModId, NULL); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â
Â