Compartilhar via


Método EnumErrorLogs

Enumerates a list of SQL Server Agent error log information.

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

Sintaxe

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

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

Valor de retorno

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