edmiRemoteDeleteInstanceContainer


 

EdmiError edmiRemoteDeleteInstanceContainer(SdaiServerContext serverContextId, 
                                              SdaiContainer     containerId, 
                                              SdaiInvocationId  *edmiInvocationId);


Deletes an instance container identified by a containerId. Only empty containers may be deleted.

Arguments


TypeNameComment
 SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

 SdaiContainer

containerId

The containerId that uniquely identifies the instance container within the remote  EDMdatabase

 SdaiInvocationId

edmiInvocationId

Currently not used.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

 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 = edmiRemoteDeleteInstanceContainer(myContext, contId, NULL);
 . . . 

 

See also

Filter by label

There are no items with the selected labels at this time.

Â