Initializes a new CustomMonitoringPerformanceData object. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim objectName As String
Dim counterName As String
Dim value As Double

Dim instance As New CustomMonitoringPerformanceData(objectName, counterName, value)

Syntax

Visual Basic
Public Sub New ( _
		objectName As String, _
		counterName As String, _
		value As Double _
)
C#
public CustomMonitoringPerformanceData (
		string objectName,
		string counterName,
		double value
)
C++
public:
CustomMonitoringPerformanceData (
		String^ objectName, 
		String^ counterName, 
		double value
)
J#
public CustomMonitoringPerformanceData (
		String objectName, 
		String counterName, 
		double value
)
JScript
public function CustomMonitoringPerformanceData (
		objectName : String, 
		counterName : String, 
		value : double
)

Parameters

objectName

The name of the object.

counterName

The name of the counter that is used to monitor performance data.

value

The value of the performance data counter.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also