Workspace.PendDelete Method (String, RecursionType)
Queues files or folders for deletion from the repository.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Déclaration
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
- path
Type: System.String
The local path to 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 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.