Microsoft Operations Manager |
The IDproperty gets the globally unique identifier (GUID) of the alert.
[VBScript] Alert.ID
Read-only
String
The following example shows how to use GUIDs to check whether two alert objects represent the same alert.
[VBScript]
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
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.