Share via


TeamFoundationStrongBoxService.GetString Method

Retrieve a value from a drawer as a string. This method returns the string as part of the https response from the server.

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

Syntax

'Declaration
Public Function GetString ( _
    drawerId As Guid, _
    lookupKey As String _
) As String
public string GetString(
    Guid drawerId,
    string lookupKey
)
public:
String^ GetString(
    Guid drawerId, 
    String^ lookupKey
)
member GetString : 
        drawerId:Guid * 
        lookupKey:string -> string
public function GetString(
    drawerId : Guid, 
    lookupKey : String
) : String

Parameters

  • drawerId
    Type: System.Guid

    The unique identifier returned from CreateDrawer or UnlockDrawer.

  • lookupKey
    Type: System.String

    The identifier that is used to look up the value in the drawer.

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

TeamFoundationStrongBoxService Class

Microsoft.TeamFoundation.Framework.Client Namespace