ICoreApiAddService Method |
Add service for current user. If operation fails exception will be thrown.
Namespace: Atomia.Provisioning.ServiceAssembly: Atomia.Provisioning.Service (in Atomia.Provisioning.Service.dll) Version: 17.3.6337.16014
Syntax ProvisioningService AddService(
ProvisioningService service,
ProvisioningService parentService,
string accountName,
ResourceRequestDescription[] resourceRequestDescriptions
)
Function AddService (
service As ProvisioningService,
parentService As ProvisioningService,
accountName As String,
resourceRequestDescriptions As ResourceRequestDescription()
) As ProvisioningService
ProvisioningService^ AddService(
ProvisioningService^ service,
ProvisioningService^ parentService,
String^ accountName,
array<ResourceRequestDescription^>^ resourceRequestDescriptions
)
abstract AddService :
service : ProvisioningService *
parentService : ProvisioningService *
accountName : string *
resourceRequestDescriptions : ResourceRequestDescription[] -> ProvisioningService
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:
ProvisioningServiceService which has been added.
See Also