Workspace.PendDelete Method (array<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 ( _
paths As String(), _
recursion As RecursionType _
) As Integer
public int PendDelete(
string[] paths,
RecursionType recursion
)
public:
int PendDelete(
array<String^>^ paths,
RecursionType recursion
)
member PendDelete :
paths:string[] *
recursion:RecursionType -> int
public function PendDelete(
paths : String[],
recursion : RecursionType
) : int
Parameters
paths
Type: array<System.String[]An array of local paths to the items to delete.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeA flag that specifies the type of recursion.
Return Value
Type: System.Int32
The number of files or folders that are queued for deletion.
.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.