This documentation is archived and is not being maintained.

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)

public:
int PendDelete(
	String^ path, 
	RecursionType recursion
)

Parameters

path
Type: System::String

The local path of the item to delete.

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType

The recursion level.

Return Value

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

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

Show: