PackageInfo.ScriptExecuteInScaleOut 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 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
指定引用來執行套件。 如果是 null,就用參數預設值。
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
一組參數集合對應參數的設定值。
- propertyOverrideParameters
- Collection<PackageInfo.PropertyOverrideParameterSet>
一組用於屬性覆寫的參數集合。
- useAnyMachine
- Boolean
指示是否使用任何機器執行套件。
- workerAgentIds
- Collection<Guid>
以 id 表示執行套件的工作代理。
- retryCount
- Int32
如果失敗,就重試執行次數。
傳回
劇本。