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)
Syntax
'Declaration
Public Function RetrieveFile ( _
drawerId As Guid, _
lookupKey As String _
) As String
public string RetrieveFile(
Guid drawerId,
string lookupKey
)
public:
String^ RetrieveFile(
Guid drawerId,
String^ lookupKey
)
member RetrieveFile :
drawerId:Guid *
lookupKey:string -> string
public function RetrieveFile(
drawerId : Guid,
lookupKey : String
) : String
Parameters
drawerId
Type: System.GuidThe unique identifier returned from CreateDrawer or UnlockDrawer.
lookupKey
Type: System.StringThe identifier that is used to look up the value in the drawer.
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.