Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiOpenRepository (SdaiRepository repositoryId,
                               SdaiAccessMode mode); 

Opens the specified repository for the specified access mode. No access is permitted to a repository before it is opened.

...

Arguments

...

TypeNameComment
SdaiRepository

repositoryId

A numeric repositoryID that uniquely identifies the repository to be opened.

SdaiAccessMode

mode

The open mode of the repository. (sdaiRO/sdaiRW)

...

. The legal access modes are:

  • sdaiRO : open for read only operations.
  • sdaiRW : open for read and write operations.

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiRepository repositoryId;
 . . .
 if (rstat = edmiOpenRepository (repositoryId, sdaiRW)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiOpenRepository\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 . . .

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"