PackageInfo.ScriptExecute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the package script.
Overloads
ScriptExecute(Boolean, EnvironmentReference) |
Executes the package script using the specified reference. |
ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>) |
Executes the package script using the specified reference and value parameters. |
ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>) |
Script for executing the package. |
ScriptExecute(Boolean, EnvironmentReference)
Executes the package script using the specified reference.
public:
Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptExecute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptExecute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference);
member this.ScriptExecute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptExecute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference) As ISfcScript
Parameters
- use32RuntimeOn64
- Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
- reference
- EnvironmentReference
The specified reference to execute the package.
Returns
The executed script.
Applies to
ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>)
Executes the package script using the specified reference and value parameters.
public:
Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptExecute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::ExecutionValueParameterSet ^> ^ setValueParameters);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptExecute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> setValueParameters);
member this.ScriptExecute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptExecute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference, setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet)) As ISfcScript
Parameters
- use32RuntimeOn64
- Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
- reference
- EnvironmentReference
The specified reference to execute the package.
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
The collection of value parameters
Returns
The executed script.
Applies to
ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>)
Script for executing the package.
public:
Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptExecute(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::ExecutionValueParameterSet ^> ^ setValueParameters, System::Collections::ObjectModel::Collection<Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::PropertyOverrideParameterSet ^> ^ propertyOverrideParameters);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptExecute (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> setValueParameters, System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.PropertyOverrideParameterSet> propertyOverrideParameters);
member this.ScriptExecute : bool * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ExecutionValueParameterSet> * System.Collections.ObjectModel.Collection<Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.PropertyOverrideParameterSet> -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptExecute (use32RuntimeOn64 As Boolean, reference As EnvironmentReference, setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet), propertyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet)) As ISfcScript
Parameters
- use32RuntimeOn64
- Boolean
indicates whether to use 32 bit runtime for execution on a 64-bit server
- reference
- EnvironmentReference
A specified reference to execute the package. If it's null, use parameter default values.
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
A collection of parameter sets to set values for parameters.
- propertyOverrideParameters
- Collection<PackageInfo.PropertyOverrideParameterSet>
A collection of parameter sets for property overrides.
Returns
The script