CoreRMO::Delete Resource Group


Removes a set of resource groups 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
  <candidates>1..1
	<targetSet>1..1</targetSet>
  </candidates>
</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
  <rowsAffected>1..1</rowsAffected>
</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
candidates Description:
Encapsulates data needed to interact with a candidate set.

Parent:
executeData

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

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

Children:
candidates (minOccurs="1" maxOccurs="1")
rowsAffected (minOccurs="1" maxOccurs="1")

rowsAffected Description:
Integer that specifies the number of resource groups deleted by this operation.

Parent:
executeData

targetSet Description:
Name of the candidate set that contains the set of resource groups to delete.

Parent:
candidates

Example

<request>
  <data/>
  <procedure>  
	<execute procedure="Add Resource Group To Candidates" namespace="CoreRMO"> 
	<executeData>
		<candidates>
		<targetSet>groupSet</targetSet>
		</candidates>
		<resourceGroup>
		<groupName>BroadBandServerGroup</groupName>
		</resourceGroup>
	</executeData>
	</execute>
	<execute procedure="Delete Resource Group" namespace="CoreRMO"> 
	<executeData>
		<candidates>
		<targetSet>groupSet</targetSet>
		</candidates>
	</executeData>
	</execute>
  </procedure>
</request>

Remarks

If the function succeeds, all resource groups in the candidate set are deleted; otherwise, no groups are deleted. The function will fail if any of the resource groups being deleted has a mapping associated with it

See Also

Add Resource Group, CoreRMO, Resource Manager, Update Resource Group


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