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


TypeNameComment
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


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

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

Filter by label

There are no items with the selected labels at this time.

Â