TeamFoundationStrongBoxService.UploadFile Method

Add a file to the StrongBox Drawer. This method uploads the file via chunks, and therefore can be any size.

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

Syntax

'Declaration
Public Sub UploadFile ( _
    drawerId As Guid, _
    lookupKey As String, _
    file As Stream _
)
public void UploadFile(
    Guid drawerId,
    string lookupKey,
    Stream file
)
public:
void UploadFile(
    Guid drawerId, 
    String^ lookupKey, 
    Stream^ file
)
member UploadFile : 
        drawerId:Guid * 
        lookupKey:string * 
        file:Stream -> unit
public function UploadFile(
    drawerId : Guid, 
    lookupKey : String, 
    file : Stream
)

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