Compartilhar via


Método EnumPerformanceCounters

Enumerates a list of SQL Server Agent performance counter information.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function EnumPerformanceCounters As DataTable
'Uso
Dim instance As JobServer
Dim returnValue As DataTable

returnValue = instance.EnumPerformanceCounters()
public DataTable EnumPerformanceCounters()
public:
DataTable^ EnumPerformanceCounters()
member EnumPerformanceCounters : unit -> DataTable 
public function EnumPerformanceCounters() : DataTable

Valor de retorno

Tipo: System.Data. . :: . .DataTable
A DataTable object value that contains a table of information about SQL Server Agent performance counters.