edmiGetRepository

EdmiError edmiGetRepository (SdaiString     repositoryName,
                              SdaiRepository *repositoryId); 

Returns the repositoryId that uniquely identifies a repository in the EDMdatabase.

Arguments


TypeNameComment
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


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

Options


 

Example


 

 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

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