TeamFoundationVersionControlService.DownloadFile メソッド
特定のサーバー パスで指定されたファイルとローカル パスにバージョンがダウンロードされます。
名前空間: Microsoft.TeamFoundation.VersionControl.Server
アセンブリ: Microsoft.TeamFoundation.VersionControl.Server (Microsoft.TeamFoundation.VersionControl.Server.dll 内)
構文
'宣言
Public Sub DownloadFile ( _
requestContext As TeamFoundationRequestContext, _
serverPath As String, _
deletionId As Integer, _
version As VersionSpec, _
localFileName As String _
)
public void DownloadFile(
TeamFoundationRequestContext requestContext,
string serverPath,
int deletionId,
VersionSpec version,
string localFileName
)
パラメーター
- requestContext
型 : Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
要求コンテキスト。
- serverPath
型 : System.String
ダウンロードするファイルのサーバー パス。
- deletionId
型 : System.Int32
ファイルの削除 ID。
- version
型 : Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
ダウンロードするファイルのバージョン。
- localFileName
型 : System.String
ファイルをダウンロードするローカル パス。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。