The following is an
example of an UpdateMetadata request that modifies an object's attributes.
The specified attributes and values replace attribute values stored
for the object of the specified metadata type and object instance
identifier. Examples in this section are formatted for submission
in the INMETADATA parameter of the DoRequest method.
<UpdateMetadata>
<Metadata>
<SASLibrary
Id="A53TPPVI.A1000001"
Engine="oracle"
IsDBMSLibname="1"/>
</Metadata>
<NS>SAS</NS>
<!-- OMI_TRUSTED_CLIENT flag -->
<Flags>268435456</Flags>
<Options/>
</UpdateMetadata>
In the request, note
the following:
-
The Id attribute is used in the
main element and specifies a real value. If the object is not found,
the request fails.
-
The request submits new values
for SASLibrary object A53TPPVI.A1000001's Engine and IsDBMSLibname
attributes. Unmodified attributes remain unchanged.