Click or drag to resize
ICoreApiCreateService Method
Creates a service structure with specific name, for given user. If operation fails exception will be thrown.

Namespace: Atomia.Provisioning.Service
Assembly: Atomia.Provisioning.Service (in Atomia.Provisioning.Service.dll) Version: 17.3.6337.16014
Syntax
ProvisioningService CreateService(
	string serviceName,
	ProvisioningService parentService,
	string accountName
)

Parameters

serviceName
Type: SystemString
Name of the service structure which needs to be created.
parentService
Type: Atomia.Provisioning.BaseProvisioningService
Service that will be parent for new service.
accountName
Type: SystemString
Name of the account for whom service is created.

Return Value

Type: ProvisioningService
Service instance if service with this name exist in service description and if parentService has child service called serviceName. If not, throws an exception.
Remarks
This method just creates service and create all necessary parameters but it does not add it to system.
See Also