...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
SdaiString | repositoryName | Specifies the name of the repository to delete. Repository names are case sensitive. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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 (Content by label) | ||||||
---|---|---|---|---|---|---|
|