PackageClass.Execute 方法

定義

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

執行封裝。

多載

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

備註

如需詳細資訊,請參閱Package

Execute()

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::DTSExecResult Execute() = Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSPackage100::Execute;
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTSExecResult Execute ();
abstract member Execute : unit -> Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTSExecResult
override this.Execute : unit -> Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTSExecResult
Public Overridable Function Execute () As DTSExecResult

傳回

DTSExecResult

DTSExecResult 列舉,其中包含有關封裝成功或失敗的資訊。

實作

備註

如需詳細資訊,請參閱Package

適用於

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

public:
 virtual 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) = Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSPackage100::Execute;
public virtual 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);
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
override this.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 Overridable 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

表示執行結果的 DTSExecResult 列舉。

實作

備註

如需詳細資訊,請參閱Package

適用於