Share via


JobServer.EnumPerformanceCounters Method

Enumerates a list of SQL Server Agent performance counter information.

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

Syntax

'Declaration
Public Function EnumPerformanceCounters As DataTable
'Usage
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

Return Value

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

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobServer Class

EnumPerformanceCounters Overload

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)