共用方式為


LockManager.GetLock 方法 (Object, LockManager.LockType, Int64)

取得鎖定。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Sub GetLock ( _
    lockObject As Object, _
    lockType As LockManager.LockType, _
    requestId As Long _
)
public void GetLock(
    Object lockObject,
    LockManager.LockType lockType,
    long requestId
)

參數

.NET Framework 安全性

請參閱

參考

LockManager 類別

GetLock 多載

Microsoft.TeamFoundation.Framework.Server 命名空間