edmiRemoteDeleteRepository
Â
EdmiError edmiRemoteDeleteRepository(SdaiServerContext serverContextId, SdaiRepository repositoryId, SdaiInvocationId *edmiInvocationId);
Deletes a repository in a remote EDMdatabase. Only the owner of the repository may delete it. Repositories must be emptied before they may be deleted. The default repositories 'DictionaryRepository' , 'SystemRepository' and 'DataRepository' may not be deleted.
Arguments
Type | Name | Comment |
 SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
 SdaiRepository | repositoryId | The numeric repositoryId that uniquely identifies the repository within a 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; SdaiRepository repId; /* Create Server Context */ rstat = edmiDefineServerContext("MyContext", "Johnny", "Supervisor", "cf37ftr", "TCP", "9090", "MyServerHost", NULL, NULL, NULL, NULL, NULL, &myContext); /* Get the repositoryId of MyRepository */ rstat = edmiRemoteGetRepository(myContext, "MyRepository", &repId, NULL); /* Delete MyRepository */ rstat = edmiRemoteDeleteRepository(myContext, repId, NULL); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â