Partager via


TeamFoundationStrongBoxService.AddString Method

Add a string value to the strong box. The method sends the string as part of a single https request, and therefore should be small.

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

Syntax

'Declaration
Public Sub AddString ( _
    drawerId As Guid, _
    lookupKey As String, _
    value As String _
)
public void AddString(
    Guid drawerId,
    string lookupKey,
    string value
)
public:
void AddString(
    Guid drawerId, 
    String^ lookupKey, 
    String^ value
)
member AddString : 
        drawerId:Guid * 
        lookupKey:string * 
        value:string -> unit
public function AddString(
    drawerId : Guid, 
    lookupKey : String, 
    value : 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.

.NET Framework Security

See Also

Reference

TeamFoundationStrongBoxService Class

Microsoft.TeamFoundation.Framework.Client Namespace