edmiDeleteRepositoryBN

EdmiError edmiDeleteRepositoryBN(SdaiString repositoryName);

Deletes the specified repository from the EDMdatabase. Only the owner of the repository can delete it. A repository must be empty and closed before it can be deleted.  The default repositories 'DictionaryRepository' , 'SystemRepository' and 'DataRepository' cannot be deleted.

Arguments


TypeNameComment
SdaiString

repositoryName

Specifies the name of the repository to delete. Repository names are case sensitive.

Return Value


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

Options


 

Example


 

 SdaiRepository repId;
 EdmiError rstat;
 ...
 if (rstat = edmiDeleteRepositoryBN("AlphaProject")) {
 /* Error in operation */ 
 printf("\nError: %s in edmiDeleteRepositoryBN\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 /* Specified repository is permanently deleted from database */

 

See also

Filter by label

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

Â