PackageItem.LoadPackage 方法
Loads a package into the project with specified events.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Function LoadPackage ( _
events As IDTSEvents _
) As Package
用法
Dim instance As PackageItem
Dim events As IDTSEvents
Dim returnValue As Package
returnValue = instance.LoadPackage(events)
public Package LoadPackage(
IDTSEvents events
)
public:
Package^ LoadPackage(
IDTSEvents^ events
)
member LoadPackage :
events:IDTSEvents -> Package
public function LoadPackage(
events : IDTSEvents
) : Package
参数
- events
类型:Microsoft.SqlServer.Dts.Runtime.IDTSEvents
The object that defines events handled by the package.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.Package
The Package object that represents the package loaded into the project.