The GetTypes method
has two behaviors, depending on whether the OMI_SUCCINCT (2048) flag
and its corresponding <REPOSID> element are specified.
-
Used without the flag, the method
returns an XML string that lists all of the metadata types defined
in the specified namespace.
-
Used with the flag in the SAS namespace,
the method returns an XML string that lists only metadata types for
which objects exist in the specified repository.
The XML string is returned
in the TYPES parameter. Each metadata type listed has a HasSubtypes
attribute that indicates whether the metadata type has any subtypes.
If this attribute has a value of 0, then the metadata type does not
have any subtypes. If it has a value of 1, then the metadata type
does have subtypes.
The <REPOSID>
element specifies a repository identifier in the following form:
<Reposid>A0000001.RepositoryId</Reposid>
A0000001 is the SAS
Repository Manager identifier.
RepositoryId is the unique 8–character identifier of a SAS Metadata Repository.
The <REPOSID> element must be specified with the OMI_SUCCINCT
flag.