This documentation is archived and is not being maintained.

TeamFoundationStrongBoxService::RetrieveFile Method

Retrieve a file from a drawer as a string. This method downloads value as a file to the local system, and then reads its contents into the string.

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

public:
String^ RetrieveFile(
	Guid drawerId, 
	String^ lookupKey
)

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

Show: