Partager via


LoadFromDtsServer 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.

For more information, see ApplicationClass.

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

Syntaxe

'Déclaration
Function LoadFromDtsServer ( _
    bstrPackagePath As String, _
    bstrServerName As String, _
    bLoadNeutral As Boolean, _
    pEvents As IDTSEvents100 _
) As IDTSPackage100
'Utilisation
Dim instance As IDTSApplication100
Dim bstrPackagePath As String
Dim bstrServerName As String
Dim bLoadNeutral As Boolean
Dim pEvents As IDTSEvents100
Dim returnValue As IDTSPackage100

returnValue = instance.LoadFromDtsServer(bstrPackagePath, _
    bstrServerName, bLoadNeutral, pEvents)
IDTSPackage100 LoadFromDtsServer(
    string bstrPackagePath,
    string bstrServerName,
    bool bLoadNeutral,
    IDTSEvents100 pEvents
)
IDTSPackage100^ LoadFromDtsServer(
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrServerName, 
    [InAttribute] bool bLoadNeutral, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract LoadFromDtsServer : 
        bstrPackagePath:string * 
        bstrServerName:string * 
        bLoadNeutral:bool * 
        pEvents:IDTSEvents100 -> IDTSPackage100 
function LoadFromDtsServer(
    bstrPackagePath : String, 
    bstrServerName : String, 
    bLoadNeutral : boolean, 
    pEvents : IDTSEvents100
) : IDTSPackage100

Paramètres