edmiRemoteDeleteInstanceContainerBN


 

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


TypeNameComment
 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


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 = edmiRemoteDeleteInstanceContainerBN(myContext, "FLOOR01", NULL);
 . . .

 

See also

Filter by label

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

Â