Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 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)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"