Compartir a través de


Server.EnumPerformanceCounters Method

Definition

Overloads

EnumPerformanceCounters()

Retrieves performance counter data from the server.

EnumPerformanceCounters(String)

Retrieves performance counter data from the server.

EnumPerformanceCounters(String, String)

Retrieves performance counter data from the server.

EnumPerformanceCounters(String, String, String)

Retrieves performance counter data from the server.

EnumPerformanceCounters()

Retrieves performance counter data from the server.

public System.Data.DataTable EnumPerformanceCounters ();
member this.EnumPerformanceCounters : unit -> System.Data.DataTable
Public Function EnumPerformanceCounters () As DataTable

Returns

Applies to

EnumPerformanceCounters(String)

Retrieves performance counter data from the server.

public System.Data.DataTable EnumPerformanceCounters (string objectName);
member this.EnumPerformanceCounters : string -> System.Data.DataTable
Public Function EnumPerformanceCounters (objectName As String) As DataTable

Parameters

objectName
String

The name of the object for which to fetch counter data.

Returns

Exceptions

If the remote operation fails

If objectName is null

Applies to

EnumPerformanceCounters(String, String)

Retrieves performance counter data from the server.

public System.Data.DataTable EnumPerformanceCounters (string objectName, string counterName);
member this.EnumPerformanceCounters : string * string -> System.Data.DataTable
Public Function EnumPerformanceCounters (objectName As String, counterName As String) As DataTable

Parameters

objectName
String

The name of the object for which to fetch counter data.

counterName
String

The name of the counter for which to fetch instance data.

Returns

Exceptions

If the remote operation fails

If any parameter is null

Applies to

EnumPerformanceCounters(String, String, String)

Retrieves performance counter data from the server.

public System.Data.DataTable EnumPerformanceCounters (string objectName, string counterName, string instanceName);
member this.EnumPerformanceCounters : string * string * string -> System.Data.DataTable
Public Function EnumPerformanceCounters (objectName As String, counterName As String, instanceName As String) As DataTable

Parameters

objectName
String

The name of the object for which to fetch counter data.

counterName
String

The name of the counter for which to fetch instance data.

instanceName
String

The name of the counter instance to find.

Returns

Exceptions

If the remote operation fails

If any parameter is null

Applies to