Click or drag to resize
ICoreApiSwitchService Method
Switches one service with another one. Throws exception if switch fails.

Namespace: Atomia.Provisioning.Service
Assembly: 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
)

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: ProvisioningService
New service instance.
See Also