PackageInfo.ScriptExecuteInScaleOut 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.
Script for executing the package in Scale Out.
public:
Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptExecuteInScaleOut(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, bool useAnyMachine, System::Collections::ObjectModel::Collection<Guid> ^ workerAgentIds, int retryCount);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptExecuteInScaleOut (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, bool useAnyMachine, System.Collections.ObjectModel.Collection<Guid> workerAgentIds, int retryCount);
member this.ScriptExecuteInScaleOut : 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> * bool * System.Collections.ObjectModel.Collection<Guid> * int -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptExecuteInScaleOut (use32RuntimeOn64 As Boolean, reference As EnvironmentReference, setValueParameters As Collection(Of PackageInfo.ExecutionValueParameterSet), propertyOverrideParameters As Collection(Of PackageInfo.PropertyOverrideParameterSet), useAnyMachine As Boolean, workerAgentIds As Collection(Of Guid), retryCount As Integer) 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.
- useAnyMachine
- Boolean
Indicates whether to use any machine for package execution.
- workerAgentIds
- Collection<Guid>
Indicates the worker agents for package execution by id.
- retryCount
- Int32
Retry count of execution if it failed.
Returns
The script.