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


TypeNameComment
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


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

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.

Â