edmiRemoteRenameModelBN
EdmiError edmiRemoteRenameModelBN(SdaiServerContext serverContextId, SdaiString repositoryName, SdaiString modelName, 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 |
SdaiString | repositoryName | The name of the repository that contains the model to be renamed in the remote EDMdatabase Repository names are case sensitive. |
SdaiString | modelName | The current name of the model to rename. Model names are case sensitive. |
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; /* Create Server Context */ rstat = edmiDefineServerContext("MyContext", "Johnny", "Supervisor", "cf37ftr", "TCP", "9090", "MyServerHost", NULL, NULL, NULL, NULL, NULL, &myContext); /* Rename MyModel to OurModel */ rstat = edmiRemoteRenameModelBN(myContext, "DataRepository", "MyModel", "OurModel", NULL); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â