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.StringThe path, local or server, to the items being checked out. This path may contain wildcard characters.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe level of recursion desired.
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
- 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.