Partager via


EnumPerformanceCounters méthode

Enumerates a list of SQL Server Agent performance counter information.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumPerformanceCounters As DataTable
'Utilisation
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

Valeur de retour

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