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
指出是否要使用32位執行時間在64位伺服器上執行。
- reference
- EnvironmentReference
執行封裝的指定參考。 如果是 null,請使用參數預設值。
- setValueParameters
- Collection<PackageInfo.ExecutionValueParameterSet>
參數集合的集合,用來設定參數的值。
- propertyOverrideParameters
- Collection<PackageInfo.PropertyOverrideParameterSet>
屬性覆寫的參數集集合。
- useAnyMachine
- Boolean
指出是否要使用任何電腦來執行封裝。
- workerAgentIds
- Collection<Guid>
指出依識別碼執行封裝的背景工作代理程式。
- retryCount
- Int32
失敗時的重試次數。
傳回
指令碼。