Workspace.PendEdit Method (String, RecursionType)

Checks out files for editing from the database.

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

Syntax

'Declaration
Public Function PendEdit ( _
    path As String, _
    recursion As RecursionType _
) As Integer
'Usage
Dim instance As Workspace 
Dim path As String 
Dim recursion As RecursionType 
Dim returnValue As Integer 

returnValue = instance.PendEdit(path, _
    recursion)
public int PendEdit(
    string path,
    RecursionType recursion
)
public:
int PendEdit(
    String^ path, 
    RecursionType recursion
)
public function PendEdit(
    path : String, 
    recursion : RecursionType
) : int

Parameters

  • path
    Type: System.String

    The path, local or server, to the items being checked out. This path may contain wildcard characters.

Return Value

Type: System.Int32
The number of files checked out.

Remarks

Note that the path may have wildcard characters only in the last element of the path. For example, C:\MyDirectory*z\SubDir\xyz is not allowed, but C:\MyDirectory\SubDir\*.cs is allowed.

.NET Framework Security

See Also

Reference

Workspace Class

Workspace Members

PendEdit Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace