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

  • recurse
    Type: System.Boolean

    If this is true then the children of the nodes being deleted will also be deleted.

.NET Framework Security

See Also

Reference

CatalogTransactionContext Class

Microsoft.TeamFoundation.Server.Core Namespace