LockManager.ReleaseAnyLock Method
Release the most nested lock of a given lock type and any name.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub ReleaseAnyLock ( _
lockType As LockManager.LockType, _
requestId As Long _
)
public void ReleaseAnyLock(
LockManager.LockType lockType,
long requestId
)
public:
void ReleaseAnyLock(
LockManager::LockType lockType,
long long requestId
)
member ReleaseAnyLock :
lockType:LockManager.LockType *
requestId:int64 -> unit
public function ReleaseAnyLock(
lockType : LockManager.LockType,
requestId : long
)
Parameters
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.