Table of Contents

Method Duplicate

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

Duplicate(string, IDma)

Duplicates the service.

public IDmsService Duplicate(string newServiceName, IDma agent = null)

Parameters

newServiceName string

The name to assign to the duplicated service.

agent IDma

The target DataMiner Agent where the duplicated service should be created.

Returns

IDmsService

The duplicated service.

Exceptions

ArgumentNullException

newServiceName is null.

ArgumentException

newServiceName is invalid.

NotSupportedException

The service is a service template or generated by a service template.

AgentNotFoundException

The specified DataMiner Agent was not found in the DataMiner System.

ServiceNotFoundException

The service was not found in the DataMiner System.

IncorrectDataException

Invalid data.