Delen via


TeamFoundationStrongBoxService.UnlockDrawer Method

Unlocks the strongbox drawer returning the drawerId

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function UnlockDrawer ( _
    requestContext As TeamFoundationRequestContext, _
    name As String, _
    throwOnFailure As Boolean _
) As Guid
public Guid UnlockDrawer(
    TeamFoundationRequestContext requestContext,
    string name,
    bool throwOnFailure
)
public:
Guid UnlockDrawer(
    TeamFoundationRequestContext^ requestContext, 
    String^ name, 
    bool throwOnFailure
)
member UnlockDrawer : 
        requestContext:TeamFoundationRequestContext * 
        name:string * 
        throwOnFailure:bool -> Guid
public function UnlockDrawer(
    requestContext : TeamFoundationRequestContext, 
    name : String, 
    throwOnFailure : boolean
) : Guid

Parameters

Return Value

Type: System.Guid
Throws if drawer not found and throwOnFailure is true, or returns empty guid if drawer not found and thowOnFailure is false, if drawer found returns drawer id

.NET Framework Security

See Also

Reference

TeamFoundationStrongBoxService Class

Microsoft.TeamFoundation.Framework.Server Namespace