Partager via


Méthode PackageInfo.Execute (Boolean, EnvironmentReference)

Executes a package with the specified reference.

Espace de noms :  Microsoft.SqlServer.Management.IntegrationServices
Assembly :  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntaxe

'Déclaration
Public Function Execute ( _
    use32RuntimeOn64 As Boolean, _
    reference As EnvironmentReference _
) As Long
'Utilisation
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim reference As EnvironmentReference 
Dim returnValue As Long 

returnValue = instance.Execute(use32RuntimeOn64, _
    reference)
public long Execute(
    bool use32RuntimeOn64,
    EnvironmentReference reference
)
public:
long long Execute(
    bool use32RuntimeOn64, 
    EnvironmentReference^ reference
)
member Execute : 
        use32RuntimeOn64:bool * 
        reference:EnvironmentReference -> int64
public function Execute(
    use32RuntimeOn64 : boolean, 
    reference : EnvironmentReference
) : long

Paramètres

  • use32RuntimeOn64
    Type : System.Boolean
    True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.

Valeur de retour

Type : System.Int64
The specified package.

Voir aussi

Référence

PackageInfo Classe

Surcharge Execute

Espace de noms Microsoft.SqlServer.Management.IntegrationServices