...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
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 | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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) | ||||||
---|---|---|---|---|---|---|
|