CoreRMO::Add Consumer Type
Adds a new consumer type definition to the Resource Manager Database. Once added, the consumer type can be used in new consumer instances and associated with model-specific data. 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 <modelName>1..1</modelName> <typeName>1..1</typeName> <typeDescription>0..1</typeDescription> </consumerType> </executeData>XML Output Schema
Add 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 describe a consumer type. The consumer type must have a unique name and reference an existing consumer model.Parent:
executeDataChildren:
modelName(minOccurs= 1 maxOccurs= 1 )
typeDescription (minOccurs= 0 maxOccurs= 1 )
typeName (minOccurs= 1 maxOccurs= 1 )executeData Description:
Encapsulates the procedure's input data.Children:
consumerType (minOccurs= 1 maxOccurs= 1 )modelName Description:;
Name of a consumer model that exists within the Resource Manager Database. This is the consumer model that should be associated with instances of this type.Parent:
consumerTypetypeDescription Description:
A description can be added to the type to aid users who review types through administration tools.Parent:
consumerTypetypeName Description:
Name to use to identify the new type. This name must be unique within the set of consumer types.Parent:
consumerTypeExample
<request> <data/> <procedure> <execute procedure="Add Consumer Type" namespace="CoreRMO"> <executeData> <consumerType> <typeName>Website</typeName> <modelName>NullConsumerModel</modelName> <typeDescription>A web site that is being hosted on our servers</typeDescription> </consumerType> </executeData> </execute> </procedure> </request>See Also
CoreRMO Provider, Delete Consumer Type, List Consumer Types, Resource Manager, Update Consumer Type
Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.