PackageItem.LoadPackage(IDTSEvents) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.