Click or drag to resize
ICoreApiAddService Method
Add service for current 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 AddService(
	ProvisioningService service,
	ProvisioningService parentService,
	string accountName,
	ResourceRequestDescription[] resourceRequestDescriptions
)

Parameters

service
Type: Atomia.Provisioning.BaseProvisioningService
Service to add.
parentService
Type: Atomia.Provisioning.BaseProvisioningService
Parent service or null if service is root service.
accountName
Type: SystemString
Account name - owner of the service.
resourceRequestDescriptions
Type: Atomia.Provisioning.BaseResourceRequestDescription
Additional data which helps provisioning system to decide on which resource should service be added. If operation fails exception will be thrown.

Return Value

Type: ProvisioningService
Service which has been added.
See Also