edmiRemoteDeleteRepositoryBN

EdmiError edmiRemoteDeleteRepositoryBN(SdaiServerContext serverContextId,
                                         SdaiString        repositoryName,
                                         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


TypeNameComment
 SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

 SdaiString

repositoryName

The name of the repository to delete in the remote  EDMdatabase . Repository names are case sensitive.

 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;
  
 /* Create Server Context */
 rstat = edmiDefineServerContext("MyContext",
 "Johnny", "Supervisor", "cf37ftr", 
 "TCP", "9090", "MyServerHost", 
 NULL, NULL, NULL, NULL, NULL, &myContext); 
  
 /* Delete MyRepository */
 rstat = edmiRemoteDeleteRepositoryBN(myContext, "MyRepository", NULL);
 . . .

 

See also

Filter by label

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

Â