PackageInfo.ScriptExecuteInScaleOut 方法

定义

用于在 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

参数

use32RuntimeOn64
Boolean

指示是否使用 32 位运行时在 64 位服务器上执行。

reference
EnvironmentReference

用于执行包的指定引用。 如果为 null,请使用参数默认值。

setValueParameters
Collection<PackageInfo.ExecutionValueParameterSet>

参数集的集合,用于设置参数的值。

propertyOverrideParameters
Collection<PackageInfo.PropertyOverrideParameterSet>

属性替代的参数集的集合。

useAnyMachine
Boolean

指示是否使用任何计算机执行包。

workerAgentIds
Collection<Guid>

按 ID 指示包执行的工作代理。

retryCount
Int32

如果执行失败,则重试执行计数。

返回

脚本。

适用于