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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- name
類型:System.String
- throwOnFailure
類型:System.Boolean
傳回值
類型:System.Guid
擲回,如果 Drawer 找不到和 throwOnFailure 為 true 則傳回空白 GUID,如果 Drawer 找不到和 thowOnFailure 是錯誤的,如果找到的話,的 Drawer 傳回 Drawer ID
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。