IDTSHttpClientConnection100.DownloadFile 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Downloads data from the resource specified by ServerURL property to a local file.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Sub DownloadFile ( _
FileName As String, _
vbOverwriteDestination As Boolean _
)
'用途
Dim instance As IDTSHttpClientConnection100
Dim FileName As String
Dim vbOverwriteDestination As Boolean
instance.DownloadFile(FileName, vbOverwriteDestination)
void DownloadFile(
string FileName,
bool vbOverwriteDestination
)
void DownloadFile(
[InAttribute] String^ FileName,
[InAttribute] bool vbOverwriteDestination
)
abstract DownloadFile :
FileName:string *
vbOverwriteDestination:bool -> unit
function DownloadFile(
FileName : String,
vbOverwriteDestination : boolean
)
參數
- FileName
型別:System.String
The name of the local file into which the downloaded data is stored.
- vbOverwriteDestination
型別:System.Boolean
True to overwrite the existing file; otherwise, false.
備註
For more information, see HttpClientConnection100Class.