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.