ApplicationClass.LoadFromSQLServer2 方法

定义

从 SQL Server 加载包。

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadFromSQLServer2(System::String ^ bstrPackagePath, System::Object ^ vConnectionObject, bool bLoadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::LoadFromSQLServer2;
public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadFromSQLServer2(System::String ^ bstrPackagePath, System::Object ^ vConnectionObject, bool bLoadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::LoadFromSQLServer2;
[System.Runtime.InteropServices.DispId(62)]
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 LoadFromSQLServer2 (string bstrPackagePath, object vConnectionObject, bool bLoadNeutral, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(62)>]
abstract member LoadFromSQLServer2 : string * obj * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
override this.LoadFromSQLServer2 : string * obj * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
Public Overridable Function LoadFromSQLServer2 (bstrPackagePath As String, vConnectionObject As Object, bLoadNeutral As Boolean, pEvents As IDTSEvents100) As IDTSPackage100

参数

bstrPackagePath
String

要加载的包的名称和路径。

vConnectionObject
Object

连接对象。

bLoadNeutral
Boolean

若要将包加载为中性线程,则为 true。 如果加载包作为单元线程,则为 false。

pEvents
IDTSEvents100

IDTSEvents 接口。

返回

所加载的包。

实现

属性

适用于