ICoreApiCreateService Method |
Creates a service structure with specific name, for given 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 CreateService(
string serviceName,
ProvisioningService parentService,
string accountName
)
Function CreateService (
serviceName As String,
parentService As ProvisioningService,
accountName As String
) As ProvisioningService
ProvisioningService^ CreateService(
String^ serviceName,
ProvisioningService^ parentService,
String^ accountName
)
abstract CreateService :
serviceName : string *
parentService : ProvisioningService *
accountName : string -> ProvisioningService
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:
ProvisioningServiceService 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