edmiOpenRepositoryBN

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


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

Options


 

Example


 

 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

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


Â