LoadDTS8Package 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.Tasks.Exec80PackageTask
Assembly :  Microsoft.SqlServer.Exec80PackageTask (dans Microsoft.SqlServer.Exec80PackageTask.dll)

Syntaxe

'Déclaration
Public Shared Function LoadDTS8Package ( _
    pkgSrc As String, _
    sourceUser As String, _
    sourcePwd As String, _
    srcType As Integer, _
    bUseTrustedConnection As Boolean, _
    packageName As String, _
    packagePassword As String, _
    packageID As String, _
    packageVersionGUID As String _
) As Package
'Utilisation
Dim pkgSrc As String
Dim sourceUser As String
Dim sourcePwd As String
Dim srcType As Integer
Dim bUseTrustedConnection As Boolean
Dim packageName As String
Dim packagePassword As String
Dim packageID As String
Dim packageVersionGUID As String
Dim returnValue As Package

returnValue = PackageUtils.LoadDTS8Package(pkgSrc, _
    sourceUser, sourcePwd, srcType, bUseTrustedConnection, _
    packageName, packagePassword, packageID, _
    packageVersionGUID)
public static Package LoadDTS8Package(
    string pkgSrc,
    string sourceUser,
    string sourcePwd,
    int srcType,
    bool bUseTrustedConnection,
    string packageName,
    string packagePassword,
    string packageID,
    string packageVersionGUID
)
public:
static Package^ LoadDTS8Package(
    String^ pkgSrc, 
    String^ sourceUser, 
    String^ sourcePwd, 
    int srcType, 
    bool bUseTrustedConnection, 
    String^ packageName, 
    String^ packagePassword, 
    String^ packageID, 
    String^ packageVersionGUID
)
static member LoadDTS8Package : 
        pkgSrc:string * 
        sourceUser:string * 
        sourcePwd:string * 
        srcType:int * 
        bUseTrustedConnection:bool * 
        packageName:string * 
        packagePassword:string * 
        packageID:string * 
        packageVersionGUID:string -> Package 
public static function LoadDTS8Package(
    pkgSrc : String, 
    sourceUser : String, 
    sourcePwd : String, 
    srcType : int, 
    bUseTrustedConnection : boolean, 
    packageName : String, 
    packagePassword : String, 
    packageID : String, 
    packageVersionGUID : String
) : Package

Paramètres

Valeur de retour

Type : Package