Microsoft Operations Manager |
The IDproperty gets the GUID of the performance data.
[VBScript] PerfData.ID
Read-only
String
The following example shows how to use the IDproperty to compare performance data objects.
[VBScript]
Function ArePerfDataObjectsIdentical(objPerfData1, objPerfData2)
Dim blnIsIdentical
Dim strGUID1, strGUID2
blnIsIdentical = False
strGUID1 = objPerfData1.ID
strGUID2 = objPerfData2.ID
If (strGUID1 = strGUID2) Then
blnIsIdentical = True
End If
ArePerfDataObjectsIdentical = 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.