Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


Description:
This function changes the name of a given repository.
NOTE: Only the "administrators" of an repository are allowed to rename a it. The "system repositories" (SystemRepository, DictionaryRepository, DataRepository, EDMvisualExpress) cannot be renamed.
Header:
#include "sdai.h"
Signature:
EdmiError edmiRenameRepository    (SdaiString              repositoryName,
                                   SdaiString              newRepositoryName);
Arguments:

repositoryName

Repository name

newRepositoryName

Repository new name

 
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0: Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an EDMinterfaceTM error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE
 

  • No labels