Alert.ID Property
Gets the globally unique identifier (GUID) of the alert.
Alert.ID
Access
Read-only
Return Value
String
Examples
The following example shows how to use GUIDs to check whether two alert objects represent the same alert.
Function AreAlertsIdentical(objAlert1, objAlert2)
Dim blnIsIdentical
Dim strGUID1, strGUID2
blnIsIdentical = False
strGUID1 = objAlert1.ID
strGUID2 = objAlert2.ID
If (strGUID1 = strGUID2) Then
blnIsIdentical = True
End If
AreAlertsIdentical = blnIsIdentical
End Function
Requirements
Platforms: Requires Windows 2000 or later
Version: Requires MOM 2005 or later