共用方式為


PackageItem.LoadPackage(IDTSEvents) Method

Definition

Loads a package into the project with specified events.

public:
 Microsoft::SqlServer::Dts::Runtime::Package ^ LoadPackage(Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public Microsoft.SqlServer.Dts.Runtime.Package LoadPackage (Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
member this.LoadPackage : Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> Microsoft.SqlServer.Dts.Runtime.Package
Public Function LoadPackage (events As IDTSEvents) As Package

Parameters

events
IDTSEvents

The object that defines events handled by the package.

Returns

The Package object that represents the package loaded into the project.

Applies to