Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiOpenRepositoryBN (SdaiString      repositoryName,
                                 SdaiAccessMode  mode, 
                                 SdaiRepository  *repositoryId); 

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

...

Arguments

...

TypeNameComment
SdaiString

repositoryName

Specifies the name of the repository to be opened. Repository names are case sensitive.

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.
SdaiRepository

repositoryId

An address to a SdaiRepository variable that will receive a numeric repositoryID that uniquely identifies the opened repository in an EDMdatabase .

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiRepository repositoryId;
 . . .
 if (rstat = edmiOpenRepositoryBN ("PDM", sdaiRW, &repositoryId)) {

...


 /* Error in operation */

...

 
 printf("\nError: %s in edmiOpenRepositoryBN\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 . . .

 

See also

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