다음을 통해 공유


JobServer.EnumPerformanceCounters Method

Definition

Overloads

EnumPerformanceCounters(String, String, String)
EnumPerformanceCounters(String, String)

Returns a listing of performance counter instances for the given object name and counter name

EnumPerformanceCounters()

Returns a listing of all performance counters for SQL Agent

EnumPerformanceCounters(String)

Returns a listing of performance counters with the given object name

EnumPerformanceCounters(String, String, String)

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
counterName
String
instanceName
String

Returns

Applies to

EnumPerformanceCounters(String, String)

Returns a listing of performance counter instances for the given object name and counter name

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
counterName
String

Returns

A DataTable with columns named "ObjectName", "CounterName", "InstanceName"

Applies to

EnumPerformanceCounters()

Returns a listing of all performance counters for SQL Agent

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

Returns

A DataTable with columns named "ObjectName", "CounterName", "InstanceName"

Applies to

EnumPerformanceCounters(String)

Returns a listing of performance counters with the given object name

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

Returns

A DataTable with columns named "ObjectName", "CounterName", "InstanceName"

Applies to