CatalogTransactionContext.AttachDelete Method
Adds this node deletion to the change context. It will be sent to the server when Save() is called.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub AttachDelete ( _
catalogNode As CatalogNode, _
recurse As Boolean _
)
public void AttachDelete(
CatalogNode catalogNode,
bool recurse
)
public:
void AttachDelete(
CatalogNode^ catalogNode,
bool recurse
)
member AttachDelete :
catalogNode:CatalogNode *
recurse:bool -> unit
public function AttachDelete(
catalogNode : CatalogNode,
recurse : boolean
)
Parameters
catalogNode
Type: Microsoft.TeamFoundation.Server.Core.CatalogNodeThe node to delete.
recurse
Type: System.BooleanIf this is true then the children of the nodes being deleted will also be deleted.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.