FullTextCatalog.ReadErrorLog Method (Int32)
Returns the information in the error log for the specified log number.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Public Function ReadErrorLog ( _
logNumber As Integer _
) As DataTable
public DataTable ReadErrorLog (
int logNumber
)
public:
DataTable^ ReadErrorLog (
int logNumber
)
public DataTable ReadErrorLog (
int logNumber
)
public function ReadErrorLog (
logNumber : int
) : DataTable
Parameters
- logNumber
An Int32 value that specifies the log number.
Return Value
A DataTable system object value that lists the information in the error log.
Field |
Description |
LogDate |
The date and time when the item was logged. |
ProcessInfo |
A process that caused the error. |
Text |
The error message text. The text contains new line and return ANSI characters. |
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also