Condividi tramite


Metodo EnumErrorLogs

Enumerates a list of SQL Server Agent error log information.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumErrorLogs As DataTable
'Utilizzo
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

Valore restituito

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