LockManager.HasLocks Method
Returns true if this requestId owns any locks
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function HasLocks ( _
requestId As Long _
) As Boolean
public bool HasLocks(
long requestId
)
public:
bool HasLocks(
long long requestId
)
member HasLocks :
requestId:int64 -> bool
public function HasLocks(
requestId : long
) : boolean
Parameters
- requestId
Type: System.Int64
Return Value
Type: System.Boolean
Returns Boolean.
.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.