...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiGetRepository (SdaiString repositoryName,
SdaiRepository *repositoryId);
|
Returns the repositoryId that uniquely identifies a repository in the EDMdatabase.
...
Arguments
...
Type | Name | Comment |
SdaiString | repositoryName | Specifies the name of the repository. Repository names are case sensitive. |
SdaiRepository | *repositoryId | A numeric repositoryID that uniquely identifies the repository in the EDMdatabase . |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
SdaiRepository repositoryId; EdmiError rstat; . . . if (rstat = edmiGetRepository ("DataRepository", &repositoryId)) { |
...
/* Error in operation */ |
...
printf("\nError: %s in edmiGetRepository\n", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
} printf ("\nRepositoryId: %lu", repositoryId); |
...
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|