Versions Compared

Key

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

...

 

Code Block
languagecpp
themeConfluence
EdmiError edmiRemoteDeleteRepository(SdaiServerContext serverContextId,
                                       SdaiRepository    repositoryId,
                                       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

 SdaiRepository

repositoryId

The numeric repositoriId repositoryId that uniquely identifies the repository within a remote _EDMdatabase._remote  EDMdatabase

 SdaiInvocationId

edmiInvocationId

Currently not used.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiServerContext myContext;
 SdaiRepository repId;
  
 /* Create Server Context */
 rstat = edmiDefineServerContext("MyContext",

...


 "Johnny", "Supervisor", "cf37ftr",

...

 
 "TCP", "9090", "MyServerHost",

...

 
 NULL, NULL, NULL, NULL, NULL, &myContext);

...

 
  
 /* Get the repositoryId of MyRepository */

...


 rstat = edmiRemoteGetRepository(myContext,

...


 "MyRepository", &repId, NULL);

...

 
  
 /* Delete MyRepository */

...


 rstat = edmiRemoteDeleteRepository(myContext, repId, NULL);

...


 . . . 

 

See also

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