Returns the EventId of an Alarm using the SourceName as a reference
Namespace: Ico.AwxAssembly: AwxViewControl (in AwxViewControl.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public byte[] GetIdFromSourceName( string sourceName ) |
Visual Basic |
---|
Public Function GetIdFromSourceName ( _ sourceName As String _ ) As Byte() |
JScript |
---|
public function GetIdFromSourceName( sourceName : String ) : byte[] |
Parameters
- sourceName
- Type: System..::..String
The source node
Return Value
The first alarm identifier found, or null if no alarm was foundRemarks
This method will return only the first alarm found with the SourceName specified.
Use this function when you are sure there is one alarm only with the SourceName specified to simplify your code