LoadFromSqlServer2 方法

此 API 支持 基础结构,但不能通过代码直接使用。

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Function LoadFromSqlServer2 ( _
    packagePath As String, _
    connectionObject As Object, _
    events As IDTSEvents _
) As Package
用法
Dim instance As Application
Dim packagePath As String
Dim connectionObject As Object
Dim events As IDTSEvents
Dim returnValue As Package

returnValue = instance.LoadFromSqlServer2(packagePath, _
    connectionObject, events)
public Package LoadFromSqlServer2(
    string packagePath,
    Object connectionObject,
    IDTSEvents events
)
public:
Package^ LoadFromSqlServer2(
    String^ packagePath, 
    Object^ connectionObject, 
    IDTSEvents^ events
)
member LoadFromSqlServer2 : 
        packagePath:string * 
        connectionObject:Object * 
        events:IDTSEvents -> Package 
public function LoadFromSqlServer2(
    packagePath : String, 
    connectionObject : Object, 
    events : IDTSEvents
) : Package

参数