CimAlarmClass.ClassID (property)

Gets and sets the identifier for the alarm class.
Syntax: String = object.ClassID
object.ClassID = String
Description: The ClassID property gets and sets the identifier of the alarm class.



Example:

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim alarmClasses As CimAlarmClassList
Dim alarmClass As CimAlarmClass
Set alarmClasses = project.AlarmClasses
Set alarmClass = alarmClasses.Add("NCRIT")
MsgBox alarmClass.ClassID
alarmClass.Title = "Turbine alarm class."
alarmClass.Save False