Compartilhar via


Método PackageInfo.Execute (Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>)

Executes a package with the specified reference, value parameters and property override parameters.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (em Microsoft.SqlServer.Management.IntegrationServices.dll)

Sintaxe

'Declaração
Public Function Execute ( _
    use32RuntimeOn64 As Boolean, _
    reference As EnvironmentReference, _
    setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet), _
    propetyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet) _
) As Long
'Uso
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim reference As EnvironmentReference 
Dim setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet)
Dim propetyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet)
Dim returnValue As Long 

returnValue = instance.Execute(use32RuntimeOn64, _
    reference, setValueParameters, propetyOverrideParameters)
public long Execute(
    bool use32RuntimeOn64,
    EnvironmentReference reference,
    Collection<PackageInfo.ExecutionValueParameterSet> setValueParameters,
    Collection<PackageInfo.PropertyOverrideParameterSet> propetyOverrideParameters
)
public:
long long Execute(
    bool use32RuntimeOn64, 
    EnvironmentReference^ reference, 
    Collection<PackageInfo.ExecutionValueParameterSet^>^ setValueParameters, 
    Collection<PackageInfo.PropertyOverrideParameterSet^>^ propetyOverrideParameters
)
member Execute : 
        use32RuntimeOn64:bool * 
        reference:EnvironmentReference * 
        setValueParameters:Collection<PackageInfo.ExecutionValueParameterSet> * 
        propetyOverrideParameters:Collection<PackageInfo.PropertyOverrideParameterSet> -> int64
public function Execute(
    use32RuntimeOn64 : boolean, 
    reference : EnvironmentReference, 
    setValueParameters : Collection<PackageInfo.ExecutionValueParameterSet>, 
    propetyOverrideParameters : Collection<PackageInfo.PropertyOverrideParameterSet>
) : long

Parâmetros

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

Valor de retorno

Tipo: System.Int64
The specified package.

Consulte também

Referência

PackageInfo Classe

Sobrecarregado Execute

Namespace Microsoft.SqlServer.Management.IntegrationServices