ICoreApiSwitchService Method |
Switches one service with another one. Throws exception if switch fails.
Namespace: Atomia.Provisioning.ServiceAssembly: Atomia.Provisioning.Service (in Atomia.Provisioning.Service.dll) Version: 17.3.6337.16014
Syntax ProvisioningService SwitchService(
ProvisioningService service,
string accountName,
string newServiceName,
Dictionary<string, string> additionalData
)
Function SwitchService (
service As ProvisioningService,
accountName As String,
newServiceName As String,
additionalData As Dictionary(Of String, String)
) As ProvisioningService
ProvisioningService^ SwitchService(
ProvisioningService^ service,
String^ accountName,
String^ newServiceName,
Dictionary<String^, String^>^ additionalData
)
abstract SwitchService :
service : ProvisioningService *
accountName : string *
newServiceName : string *
additionalData : Dictionary<string, string> -> ProvisioningService
Parameters
- service
- Type: Atomia.Provisioning.BaseProvisioningService
Provisioning service which is going to be switched. - accountName
- Type: SystemString
Owner account id. - newServiceName
- Type: SystemString
New service, to switch to. - additionalData
- Type: System.Collections.GenericDictionaryString, String
Additional data, needed for switch to be performed.
Return Value
Type:
ProvisioningServiceNew service instance.
See Also