Workspace.SetLock Method

Include Protected Members
Include Inherited Members

Applies the selected lock level to the specified path.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetLock(String, LockLevel) Applies the selected lock level to the specified path.
Public method SetLock(array<String[], LockLevel) Applies the selected lock level to the specified paths.
Public method SetLock(String, LockLevel, RecursionType) Applies the selected lock level to the specified path.
Public method SetLock(array<String[], LockLevel, RecursionType) Applies the selected lock level to the specified paths.
Public method SetLock(array<String[], LockLevel, RecursionType, Boolean) Applies the selected lock level to the specified paths.
Public method SetLock(array<String[], LockLevel, RecursionType, Boolean, array<String[]) Applies the selected lock level to the specified paths.

Top

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace