CoreRMO::Query Resource Type


Queries the Resource Manager Database for the specified resource type and returns the resource model name and resource 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
  <resourceType>1..1
	<typeName>1..1</typeName>
  </resourceType>
</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
  <resourceType>1..1
	<modelName>1..1</modelName>
	<typeName>1..1</typeName>
	<typeDescription>0..1</typeDescription>
  </resourceType>
</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
executeData Description:
Encapsulates the procedure's input and output data.

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

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

Parent:
resourceType

resourceType Description:
Encapsulates data needed to describe or return a resource type.

Parent:
executeData

Children:
modelName(minOccurs="1" maxOccurs="1")
typeDescription (minOccurs="0" maxOccurs="1")
typeName
(minOccurs="1" maxOccurs="1")

typeDescription Description:
Name of the resource type.

Parent:
resourceType

typeName Description:
Name of the resource model returned for the resource type.

Parent:
resourceType

Example

<request>
  <data/>
  <procedure>  
	<execute procedure="Query Resource Type" namespace="CoreRMO"> 
	<executeData>
		<resourceType>
		<typeName>IISServer</typeName>
		</resourceType>
	</executeData>
	<after source="executeData" sourcePath="resourceType" destination="data" />
	</execute>
  </procedure>
</request>

See Also

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


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