LockManager.ReleaseLock Method (Object, LockManager.LockType, Int64)
Release a lock.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub ReleaseLock ( _
lockObject As Object, _
lockType As LockManager.LockType, _
requestId As Long _
)
public void ReleaseLock(
Object lockObject,
LockManager.LockType lockType,
long requestId
)
public:
void ReleaseLock(
Object^ lockObject,
LockManager::LockType lockType,
long long requestId
)
member ReleaseLock :
lockObject:Object *
lockType:LockManager.LockType *
requestId:int64 -> unit
public function ReleaseLock(
lockObject : Object,
lockType : LockManager.LockType,
requestId : long
)
Parameters
lockObject
Type: System.ObjectThe lock object to release.
lockType
Type: Microsoft.TeamFoundation.Framework.Server.LockManager.LockTypeThe lock type to release.
- requestId
Type: System.Int64
.NET Framework Security
- 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.