Share via


TeamFoundationStrongBoxService.UnlockDrawer 方法

開啟傳回 drawerId 的 StrongBox Drawer

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

語法

'宣告
Public Function UnlockDrawer ( _
    requestContext As TeamFoundationRequestContext, _
    name As String, _
    throwOnFailure As Boolean _
) As Guid
public Guid UnlockDrawer(
    TeamFoundationRequestContext requestContext,
    string name,
    bool throwOnFailure
)

參數

傳回值

類型:System.Guid
擲回,如果 Drawer 找不到和 throwOnFailure 為 true 則傳回空白 GUID,如果 Drawer 找不到和 thowOnFailure 是錯誤的,如果找到的話,的 Drawer 傳回 Drawer ID

.NET Framework 安全性

請參閱

參考

TeamFoundationStrongBoxService 類別

Microsoft.TeamFoundation.Framework.Server 命名空間