This documentation is archived and is not being maintained.
VersionControlServer.DownloadFile Method (String, String)
Visual Studio 2013
Downloads the latest version of a file from the server to a local file.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- serverPath
- Type: System.String
The repository path of the file to download.
- localFileName
- Type: System.String
The local path where the local file should be stored.
- 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.
Show: