Method GetAgent
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
GetAgent(int)
Gets the DataMiner Agent with the specified DataMiner Agent ID.
IDma GetAgent(int agentId)
Parameters
agentId
intThe ID of the DataMiner Agent.
Returns
- IDma
The DataMiner Agent that corresponds with the specified DataMiner Agent ID.
Exceptions
- ArgumentException
The DataMiner Agent ID is negative.
- AgentNotFoundException
There is no DataMiner Agent in the DataMiner System with the specified DataMiner Agent ID.