Microsoft Operations Manager

ID Property (Performance Data)

The IDproperty gets the GUID of the performance data.

[VBScript] PerfData.ID

Access

Read-only

Return Value

String

Examples

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

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

PerfData Object


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.