CoreRMO::Update Consumer Type
Updates the name, model, or description for a consumer 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 <consumerType>1..1 <typeName>1..1</typeName> </consumerType> <update>1..1 <modelName>0..1</modelName> <typeName>0..1</typeName> <typeDescription>0..1</typeDescription> </update> </executeData>XML Output Schema
Update Consumer 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 consumerType Description:
Encapsulates data needed to identify a consumer type. The consumer 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")executeData Description:
Encapsulates the procedure's input data.Children:
consumerType (minOccurs="1" maxOccurs="1")
update (minOccurs="1" maxOccurs="1")modelName Description:
New model name of the consumer type. If the consumer model is being updated, it must already exist in the Resource Manager Database.Parent:
updatetypeDescription Description:
New description for the type.Parent:
updatetypeName Description:
Name for the type. Must be unique within the set of consumer types. The old name is specified as a child of consumerType and the new name as a child of update.
Parents:
consumerType (input), update (input)update Description:
Encapsulates new values for the consumer 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 Consumer Type" namespace="CoreRMO"> <executeData> <consumerType> <typeName>Website</typeName> </consumerType> <update> <typeDescription>A new description</typeDescription> </update> </executeData> </execute> </procedure> </request>See Also
Add Consumer Type, CoreRMO Provider, Delete Consumer Type, List Consumer Types, Query Consumer Type, Resource Manager
Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.