edmiMoveModelBN

edmiMoveModelBN

EdmiError edmiMoveModelBN(SdaiString repositoryName, SdaiString modelName, SdaiString targetRepositoryName);

Moves the specified data model to the specified repository. The specified data model must be closed before this operation can be successfully performed. The source repository must be open and the target repository must be open for write access, before this function can be successfully performed.

Arguments


Type

Name

Comment

SdaiString

repositoryName

Specifies the name of the repository in the EDMdatabase that holds the model of interest (source repository). Repository names are case sensitive.

SdaiString

modelName

Specifies the name of the model to move. Model names are case sensitive.

SdaiString

targetRepositoryName

Specifies the name of the target repository in the EDMdatabase. Repository names are case sensitive.

Return Value


Options


 

Example


 

 EdmiError rstat; . . . if (rstat = edmiMoveModelBN ("DataRepository", "Bumper", "SpareParts")) { /* Error in operation */ printf("\nError: %s in edmiMoveModelBN\n", edmiGetErrorText(rstat)); goto error; } . . .

 

See also