Table of Contents

Method Duplicate

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

Duplicate(string, IDma)

Duplicates the element.

IDmsElement Duplicate(string newElementName, IDma agent = null)

Parameters

newElementName string

The name to assign to the duplicated element.

agent IDma

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

Returns

IDmsElement

The duplicated element.

Exceptions

ArgumentNullException

newElementName is null.

ArgumentException

newElementName is invalid.

NotSupportedException

The element is a DVE child or a derived element.

AgentNotFoundException

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

ElementNotFoundException

The element was not found in the DataMiner System.

IncorrectDataException

Invalid data.