Share via


Workspace.SetLock Method

Include Protected Members
Include Inherited Members

Apply the selected lock level to the specified path or paths.

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.

Top

See Also

Reference

Workspace Class

Workspace Members

Microsoft.TeamFoundation.VersionControl.Client Namespace