Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Workspace.PendDelete Method (String[], RecursionType, LockLevel, Boolean, Boolean, String[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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[] paths,
	RecursionType recursion,
	LockLevel lockLevel,
	bool updateDisk,
	bool silent,
	string[] itemAttributeFilters


Type: System.String[]

An array of local paths to the items to delete.

Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

A flag that specifies the type of recursion.

Type: Microsoft.TeamFoundation.VersionControl.Client.LockLevel

The lock level to apply to each item.

Type: System.Boolean

True to delete files from the local disk.

Type: System.Boolean

Specifies whether the server should return Get operations.

Type: System.String[]

The list of properties to return with Get operations.

Return Value

Type: System.Int32
The number of files or folders that are queued for deletion.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.