IDTSPackage100.Execute 方法

定義

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

回傳套件執行成功或失敗的資訊。

多載

備註

此介面由 PackagePackageNeutral 介面實作。

Execute()

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::DTSExecResult Execute();
[System.Runtime.InteropServices.DispId(49)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTSExecResult Execute();
[<System.Runtime.InteropServices.DispId(49)>]
abstract member Execute : unit -> Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTSExecResult
Public Function Execute () As DTSExecResult

傳回

一個 DTSExecResult 包含套件執行成功或失敗資訊的列舉。

屬性

備註

此介面由 PackagePackageNeutral 介面實作。

適用於

Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object)

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::DTSExecResult Execute(Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSVariables100 ^ pVariables, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSLogging100 ^ pLog, System::Object ^ pTransaction);
[System.Runtime.InteropServices.DispId(5)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTSExecResult Execute(Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSVariables100 pVariables, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSLogging100 pLog, object pTransaction);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member Execute : Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSVariables100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSLogging100 * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTSExecResult
Public Function Execute (pConnections As IDTSConnections100, pVariables As IDTSVariables100, pEvents As IDTSEvents100, pLog As IDTSLogging100, pTransaction As Object) As DTSExecResult

參數

pConnections
IDTSConnections100
pVariables
IDTSVariables100
pEvents
IDTSEvents100
pTransaction
Object

傳回

一個 DTSExecResult 列舉,指示處決的結果。

實作

屬性

備註

此介面由 PackagePackageNeutral 介面實作。

適用於