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