Leer en inglés

Compartir a través de


Workspace.SetLock Method (array<String , LockLevel, RecursionType)

Applies the selected lock level to the specified paths.

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

Syntax

'Declaration
Public Function SetLock ( _
    paths As String(), _
    lockLevel As LockLevel, _
    recursion As RecursionType _
) As Integer

Parameters

  • paths
    Type: array<System.String[]

    The array of paths on which to set the lock.

Return Value

Type: System.Int32
The number of locks that are set.

.NET Framework Security

See Also

Reference

Workspace Class

SetLock Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace