CoreRMO::Delete Consumer Type


Removes a consumer type from the Resource Manager Database. 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

Delete 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.

Parent:
executeData

Children:
typeName (minOccurs="1" maxOccurs="1")

executeData Description:
Encapsulates the procedure's input data.

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

typeName Description:
Name to use to identify the type.

Parent:
consumerType

Example

<request>
  <data/>
  <procedure>  
	<execute procedure="Delete Consumer Type" namespace="CoreRMO"> 
	<executeData>
		<consumerType>
		<typeName>Website</typeName>
		<modelName>NullConsumerModel</modelName>
		</consumerType>
	</executeData>
	</execute>
  </procedure>
</request>

Remarks

To be deleted, the consumer type must exist in the database, and all instances of that type must have already been deleted. Related data in the consumer model will be automatically deleted when the type is deleted.

See Also

CoreRMO Provider, Resource Manager


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