edmiOpenRepository
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
Type | Name | Comment |
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:
|
Return Value
Options
Example
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
There are no items with the selected labels at this time.