Method AgentExists
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
AgentExists(int)
Determines whether a DataMiner Agent with the specified ID is present in the DataMiner System.
bool AgentExists(int agentId)
Parameters
agentId
intThe DataMiner Agent ID.
Returns
- bool
true
if the DataMiner Agent ID is valid; otherwise,false
.
Exceptions
- ArgumentException
The DataMiner Agent ID is negative.