PackageInfo.ScriptExecute Método (Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>)
Executes the package script using the specified reference, value parameters, and property override parameters.
Espacio de nombres: Microsoft.SqlServer.Management.IntegrationServices
Ensamblado: Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)
Sintaxis
'Declaración
Public Function ScriptExecute ( _
use32RuntimeOn64 As Boolean, _
reference As EnvironmentReference, _
setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet), _
propertyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet) _
) As ISfcScript
'Uso
Dim instance As PackageInfo
Dim use32RuntimeOn64 As Boolean
Dim reference As EnvironmentReference
Dim setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet)
Dim propertyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet)
Dim returnValue As ISfcScript
returnValue = instance.ScriptExecute(use32RuntimeOn64, _
reference, setValueParameters, propertyOverrideParameters)
public ISfcScript ScriptExecute(
bool use32RuntimeOn64,
EnvironmentReference reference,
Collection<PackageInfo.ExecutionValueParameterSet> setValueParameters,
Collection<PackageInfo.PropertyOverrideParameterSet> propertyOverrideParameters
)
public:
ISfcScript^ ScriptExecute(
bool use32RuntimeOn64,
EnvironmentReference^ reference,
Collection<PackageInfo.ExecutionValueParameterSet^>^ setValueParameters,
Collection<PackageInfo.PropertyOverrideParameterSet^>^ propertyOverrideParameters
)
member ScriptExecute :
use32RuntimeOn64:bool *
reference:EnvironmentReference *
setValueParameters:Collection<PackageInfo.ExecutionValueParameterSet> *
propertyOverrideParameters:Collection<PackageInfo.PropertyOverrideParameterSet> -> ISfcScript
public function ScriptExecute(
use32RuntimeOn64 : boolean,
reference : EnvironmentReference,
setValueParameters : Collection<PackageInfo.ExecutionValueParameterSet>,
propertyOverrideParameters : Collection<PackageInfo.PropertyOverrideParameterSet>
) : ISfcScript
Parámetros
- use32RuntimeOn64
Tipo: System.Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
- reference
Tipo: Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The specified reference to execute the package.
- setValueParameters
Tipo: System.Collections.ObjectModel.Collection<PackageInfo.ExecutionValueParameterSet>
The collection of value parameters
- propertyOverrideParameters
Tipo: System.Collections.ObjectModel.Collection<PackageInfo.PropertyOverrideParameterSet>
The property override parameters.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The executed script.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.IntegrationServices