When a repository is
created, it is registered in a SAS Repository Manager. The SAS Repository
Manager is itself a repository, which maintains information that enables
the SAS Metadata Server to access the repositories, metadata programmers
to create metadata in the repositories, and administrators to administer
the availability of the repositories.
You can determine the
repositories that have been registered in a SAS Repository Manager
by using the GetRepositories method.
For more information,
see GetRepositories. The GetRepositories method lists the Id, Name,
Desc, and DefaultNS attributes of the repositories registered in the
SAS Repository Manager. A repository identifier is required to add
metadata to a repository.
For usage information, see Using GetRepositories to Get the Registered Repositories.
The SAS Repository Manager
also stores Path, RepositoryType, RepositoryFormat, Access, PauseState,
and CurrentAccess attributes for a repository. To get the values of
these attributes, you can issue the GetRepositories method with the
OMI_ALL (1) flag set.
For usage information, see Using GetRepositories to Get Repository Access and Status Information.
A repository is described
by a metadata type just like any other metadata object. To get values
for global attributes that are stored for all metadata types, you
can use the same methods that you use to read application objects.
For more information, see “Querying Metadata Objects”
below. Issue the GetMetadata and GetMetadataObjects method calls on
the REPOS namespace and specify the RepositoryBase metadata type.
For more information,
see Using GetMetadata to Get a Repository's Regular Attributes.