EnumPerformanceCounters 方法

Enumerates a list of SQL Server Agent performance counter information.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumPerformanceCounters As DataTable
用法
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

返回值

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