ApplicationClass.LoadPackage(String, Boolean, IDTSEvents100) 方法

定义

从文件系统加载包并指定线程模型。

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadPackage(System::String ^ FileName, bool loadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::LoadPackage;
public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadPackage(System::String ^ FileName, bool loadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::LoadPackage;
[System.Runtime.InteropServices.DispId(9)]
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 LoadPackage (string FileName, bool loadNeutral, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(9)>]
abstract member LoadPackage : string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
override this.LoadPackage : string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
Public Overridable Function LoadPackage (FileName As String, loadNeutral As Boolean, pEvents As IDTSEvents100) As IDTSPackage100

参数

FileName
String

包含要加载的包的文件的名称。

loadNeutral
Boolean

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

pEvents
IDTSEvents100

IDTSEvents 接口。

返回

所加载的包。

实现

属性

适用于