Workspace.PendDelete Method (String, RecursionType)

Queues files or folders for deletion from the version-control repository.

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

Syntax

'Declaration
Public Function PendDelete ( _
    path As String, _
    recursion As RecursionType _
) As Integer
public int PendDelete(
    string path,
    RecursionType recursion
)
public:
int PendDelete(
    String^ path, 
    RecursionType recursion
)
member PendDelete : 
        path:string * 
        recursion:RecursionType -> int
public function PendDelete(
    path : String, 
    recursion : RecursionType
) : int

Parameters

Return Value

Type: System.Int32
The number of files or folders that are queued for deletion.

Remarks

For more information about how to use this method, see Extending Version Control.

.NET Framework Security

See Also

Reference

Workspace Class

PendDelete Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace