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
Type | Name | Comment |
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:
|
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
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.