This documentation is archived and is not being maintained.
Workspace::SetLock Method (String, LockLevel, RecursionType)
Visual Studio 2013
Applies the selected lock level to the specified path.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- path
- Type: System::String
The path on which to set the lock.
- lockLevel
- Type: Microsoft.TeamFoundation.VersionControl.Client::LockLevel
The lock level to apply.
- recursion
- Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType
A flag that specifies the type of recursion.
- 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.
Show: