Table of Contents

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 int

The DataMiner Agent ID.

alarmID int

The alarm ID.

propertyName string

The 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 int

The DataMiner Agent ID.

elementID int

The element ID.

alarmID int

The alarm ID.

propertyName string

The 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.