Method CreateService
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
CreateService(ServiceConfiguration)
Creates a new service with the specified configuration.
DmsServiceId CreateService(ServiceConfiguration configuration)
Parameters
configuration
ServiceConfigurationThe configuration of the service to be created.
Returns
- DmsServiceId
The ID of the created service.
Remarks
Currently, this method only supports creating virtual services.
Exceptions
- AgentNotFoundException
The Agent was not found in the DataMiner System.
- ArgumentNullException
configuration
is null.- IncorrectDataException
The provided configuration is invalid.