edmiRemoteRenameModel
EdmiError edmiRemoteRenameModel(SdaiServerContext serverContextId, SdaiModel model, SdaiString newModelName, SdaiInvocationId *edmiInvocationId);
Renames a data model within a remote EDMdatabase. This function is only applicable for data models. Only the owner of a model may rename it.
Arguments
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiModel | model | The numeric modelId that uniquely identifies the model to rename in the remote EDMdatabase |
SdaiString | newModelName | The new name to assign to the model. Model names must be unique within the scope of a repository and must start with a letter followed by any combination of alphanumeric characters and underscore. 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; SdaiModel modId; /* Create Server Context */ rstat = edmiDefineServerContext("MyContext", "Johnny", "Supervisor", "cf37ftr", "TCP", "9090", "MyServerHost", NULL, NULL, NULL, NULL, NULL, &myContext); /* Get the modelId of MyModel */ rstat = edmiRemoteGetModelBN(myContext, "DataRepository", "MyModel", &modId, NULL); /* Rename MyModel to OurModel */ rstat = edmiRemoteRenameModel(myContext, modId, "OurModel", NULL); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â