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.