CoreRMO::Query Consumer Type


Queries the Resource Manager Database for the specified consumer type and returns the consumer model name and consumer type description. 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>
</executeData>

XML Output Schema

The following code fragment shows the format for data this procedure returns. 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>

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 or return a consumer type.

Parent:
executeData

Children:
modelName(minOccurs="1" maxOccurs="1", output only)
typeDescription (minOccurs="0" maxOccurs="1", output only)
typeName
(minOccurs="1" maxOccurs="1", input and output)

executeData Description:
Encapsulates the procedure's input and output data.

Child:
consumerType (minOccurs="1" maxOccurs="1")

modelName Description:
Name of the consumer model returned for the consumer type.

Parent:
consumerType

typeDescription Description:
Description of the consumer type.

Parent:
consumerType

typeName Description:
Name of the consumer type.

Parent:
consumerType

Example

<request>
  <data/>
  <procedure>  
	<execute procedure="Query Consumer Type" namespace="CoreRMO"> 
	<executeData>
		<consumerType>
		<typeName>Website</typeName>
		</consumerType>
	</executeData>
	<after source="executeData" sourcePath="consumerType" destination="data" />
	</execute>
  </procedure>
</request>

See Also

Add Consumer Type, CoreRMO Provider, Delete Consumer Type, List Consumer Types, Query Consumer Type, Resource Manager, Update Consumer Type


Up Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.