Versions Compared

Key

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

...

 

Code Block
languagecpp
themeConfluence
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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 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)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"