This documentation is archived and is not being maintained.

ICatalogService.SaveDelete Method

Deletes this node from the catalog. If this node is the only node that points to the resource it points to then this resource will also be deleted. If this node exists in the infrastructure tree then the resource that is associated with this node will also be deleted and it will be inherently recursive.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

void SaveDelete(
	CatalogNode node,
	bool recurse
)

Parameters

node
Type: Microsoft.TeamFoundation.Framework.Client.CatalogNode

The node to delete.

recurse
Type: System.Boolean

True if the children nodes of this node should be deleted.

Show: