Partager via


LoadFromSqlServer2 méthode

Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Function LoadFromSqlServer2 ( _
    packagePath As String, _
    connectionObject As Object, _
    events As IDTSEvents _
) As Package
'Utilisation
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

Paramètres