다음을 통해 공유


IDTSApplication100.LoadPackage(String, Boolean, IDTSEvents100) Method

Definition

Loads a IDTSPackage100 from the file system.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadPackage(System::String ^ FileName, bool loadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents);
[System.Runtime.InteropServices.DispId(9)]
public 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
Public Function LoadPackage (FileName As String, loadNeutral As Boolean, pEvents As IDTSEvents100) As IDTSPackage100

Parameters

FileName
String

The name of the file that contains the package to load.

loadNeutral
Boolean

true to load the package as neutral threaded; false to load the package as apartment threaded.

pEvents
IDTSEvents100

An IDTSEvents100 interface.

Returns

The package that was loaded.

Attributes

Applies to