Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiDeleteRepository(SdaiRepository repositoryId);

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
SdaiRepository

repositoryId

A numeric repositoryID that uniquely identifies the repository to be deleted.
  The repositoryID is returned when the repository is created and by the following operations: sdaiOpenRepository , sdaiOpenRepositoryBN , edmiOpenRepository , edmiOpenRepositoryBN , edmiGetRepository

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 SdaiRepository repId;
 EdmiError rstat;
 ...
 if (rstat = edmiDeleteRepository(repId)) {

...


 /* Error in operation */

...

 
 printf("\nError: %s in edmiDeleteRepository\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 /* Specified repository is permanently deleted from database */

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"