...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiRemoteDeleteInstanceContainerBN(SdaiServerContext serverContextId,
SdaiModel modelId,
SdaiString containerName,
SdaiInvocationId *edmiInvocationId);
|
Deletes an instance container identified by its name and the modelId. Only empty containers may be deleted. Use edmiRemoteEmptyContainerBN to remove all the contained instances. This function may not be used unless the container was assigned a name when it was created. I no name was assigned, use edmiRemoteDeleteInstanceContainer.
...
Arguments
...
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiModel | modelId | The modelId that uniquely identifies the edmModel in the remote EDMdatabase. |
SdaiString | containerName | The name that was assigned to the instance container when it was created. |
SdaiInvocationId | edmiInvocationId | Currently not used. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat; SdaiModel modelId; SdaiContainer contId; SdaiServerContext myContext; . . . /* Define Remote Server Context */ rstat = edmiDefineServerContext("MyRemoteServerContext", |
...
"Johnny", "Supervisor", "cf37ftr", |
...
"TCP", "9090", "MyServerHost", |
...
NULL, NULL, NULL, NULL, NULL, &myContext); |
...
/* Create a lock container */ |
...
rstat = edmiRemoteCreateInstanceContainer(myContext, |
...
modelId, LOCK_CONTAINER "FLOOR01", |
...
"Check out of first floor", &contId, NULL); |
...
. . . |
...
/* Delete the container */ |
...
rstat = edmiRemoteDeleteInstanceContainerBN(myContext, "FLOOR01", NULL); |
...
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|