EnumErrorLogs 方法

Enumerates a list of SQL Server Agent error log information.

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

语法

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

返回值

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