CoreRMO::Update Resource Type
Updates the name, model, or description for a resource type. Used by Microsoft. Provisioning Framework (MPF).
XML Input Schema
The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.
<executeData>1..1 <resourceType>1..1 <typeName>1..1</typeName> </resourceType> <update>1..1 <modelName>0..1</modelName> <typeName>0..1</typeName> <typeDescription>0..1</typeDescription> </update> </executeData>XML Output Schema
Update Resource Type does not return data.
Elements and Attributes
The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.
Element Description, relationships, and attributes executeData Description:
Encapsulates the procedure's input data.Children:
resourceType (minOccurs="1" maxOccurs="1")
update (minOccurs="1" maxOccurs="1")modelName Description:
New name of a resource model. If the resource model is being updated, it must already exist in the Resource Manager Database.Parent:
updateresourceType Description:
Encapsulates data needed to identify a resource type. The resource type must already exist in the Resource Manager Database. If the type name is being updated, the new name must be unique.Parent:
executeDataChild:
typeName (minOccurs="1" maxOccurs="1")typeDescription Description:
New description for the type.Parent:
updatetypeName Description:
New name for the type. Must be unique within the set of resource types. The new value is specified as a child of update and the old value is a child of resourceType.Parents:
resourceType (input), update (input)update Description:
Encapsulates new values for the resource type.Parent:
executeDataChildren:
modelName (minOccurs="0" maxOccurs="1")
typeDescription (minOccurs="0" maxOccurs="1")
typeName (minOccurs="0" maxOccurs="1")Example
<request> <data/> <procedure> <execute procedure="Update Resource Type" namespace="CoreRMO"> <executeData> <resourceType> <typeName>IISServer</typeName> </resourceType> <update> <typeDescription>A new description</typeDescription> </update> </executeData> </execute> </procedure> </request>See Also
Add Resource Type, CoreRMO Provider, Delete Resource Type, List Resource Types, Query Resource Type, Resource Manager
Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.