edmiRemoteDeleteModelContentsBN


 

EdmiError edmiRemoteDeleteModelContentsBN(SdaiServerContext  serverContextId, 
                                            SdaiString         repositoryName, 
                                            SdaiString         modelName, 
                                            SdaiInvocationId   *edmiInvocationId); 

Deletes the population within a model in a remote EDMdatabase. The model will be completely reset to its initial state. An equivalent way to do this would be to delete the model and recreate it with edmiRemoteCreateModel. However, the models create options that define the model features would be lost and would have to be redefined in the create operation. The model is uniquely identified in the remote EDMdatabase  by its name and the name of the repository in which it is contained. This function is only applicable to data models.

Arguments


TypeNameComment
 SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

 SdaiString

repositoryName

The name of the data repository that contains the model for which to delete its contents. Repository names are case sensitive

 SdaiString

modelName

The name of the model for which to delete its contents. Model names are case sensitive.

 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;
 SdaiServerContext myContext;
  
 /* Create Server Context */
 rstat = edmiDefineServerContext("MyContext",
 "Johnny", "Supervisor", "cf37ftr", 
 "TCP", "9090", "MyServerHost", 
 NULL, NULL, NULL, NULL, NULL, &myContext); 
  
 /* Delete the MyModel contents */
 rstat = edmiRemoteDeleteModelContentsBN(myContext,
 "DataRepository", "MyModel", NULL); 
 . . .

 

See also

Filter by label

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

Â