Method GetAlarmProperty
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetAlarmProperty(int, int, string)
Retrieves the value of the specified custom alarm property.
public string GetAlarmProperty(int dataMinerID, int alarmID, string propertyName)
Parameters
dataMinerID
intThe DataMiner Agent ID.
alarmID
intThe alarm ID.
propertyName
stringThe name of the alarm property.
Returns
- string
The value of the specified alarm property.
Examples
string propertyValue = engine.GetAlarmProperty(200, 59851, "SourceDetail");
Exceptions
- ArgumentException
Alarm not found.
GetAlarmProperty(int, int, int, string)
Retrieves the value of the specified custom alarm property.
public string GetAlarmProperty(int dataMinerID, int elementID, int alarmID, string propertyName)
Parameters
dataMinerID
intThe DataMiner Agent ID.
elementID
intThe element ID.
alarmID
intThe alarm ID.
propertyName
stringThe name of the alarm property.
Returns
- string
The value of the specified alarm property.
Examples
string propertyValue = engine.GetAlarmProperty(200, 400, 59851, "SourceDetail");
Exceptions
- ArgumentException
Alarm not found.