Partager via


LockManager.GetLock Method (Object, LockManager.LockType, Int64)

Get a lock.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub GetLock ( _
    lockObject As Object, _
    lockType As LockManager.LockType, _
    requestId As Long _
)
public void GetLock(
    Object lockObject,
    LockManager.LockType lockType,
    long requestId
)
public:
void GetLock(
    Object^ lockObject, 
    LockManager::LockType lockType, 
    long long requestId
)
member GetLock : 
        lockObject:Object * 
        lockType:LockManager.LockType * 
        requestId:int64 -> unit
public function GetLock(
    lockObject : Object, 
    lockType : LockManager.LockType, 
    requestId : long
)

Parameters

.NET Framework Security

See Also

Reference

LockManager Class

GetLock Overload

Microsoft.TeamFoundation.Framework.Server Namespace