edmiRenameModelBN
Â
EdmiError edmiRenameModelBN(SdaiString repositoryName, SdaiString modelName, SdaiString newModelName);
Renames the specified data model in the EDMdatabase. This function is only applicable to data models. Only the owner of a model can rename it.
Arguments
Type | Name | Comment |
SdaiString | repositoryName | Specifies the name of the repository in the database holding the model to be renamed. Repository names are case sensitive. |
SdaiString | modelName | Specifies the name of the model to rename. Model names are case sensitive. The combination of the arguments <repository> and <modelName> uniquely identifies a model in the EDMdatabase. |
SdaiString | newModelName | Specifies the new name of the specified model. The model name must be unique within the repository that holds the model. The model name must start with a letter and the rest of the model name can be any mix of alphanumeric characters and the underscore character. Model names are case sensitive. |
Return Value
Options
Â
Example
Â
EdmiError rstat; . . . if (rstat = edmiRenameModelBN ("repositoryName", "Building", "Building_AAXCD458C")) { /* Error in operation */ printf("\nError: %s in edmiRenameModelBN\n", edmiGetErrorText(rstat)); goto error; } . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â