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

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

reference
EnvironmentReference

指定引用来执行该包。 如果是空值,使用参数默认值。

setValueParameters
Collection<PackageInfo.ExecutionValueParameterSet>

一组参数集合映射为参数的集合值。

propertyOverrideParameters
Collection<PackageInfo.PropertyOverrideParameterSet>

一组用于属性覆写的参数集。

useAnyMachine
Boolean

表示是否使用任意机器进行包的执行。

workerAgentIds
Collection<Guid>

表示通过id执行包的工作代理。

retryCount
Int32

如果失败了,可以重试执行次数。

返回

脚本。

适用于