다음을 통해 공유


ReadErrorLog 메서드 (Int32)

Returns the information in the error log for the specified log number.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function ReadErrorLog ( _
    logNumber As Integer _
) As DataTable
‘사용 방법
Dim instance As FullTextCatalog
Dim logNumber As Integer
Dim returnValue As DataTable

returnValue = instance.ReadErrorLog(logNumber)
public DataTable ReadErrorLog(
    int logNumber
)
public:
DataTable^ ReadErrorLog(
    int logNumber
)
member ReadErrorLog : 
        logNumber:int -> DataTable 
public function ReadErrorLog(
    logNumber : int
) : DataTable

매개 변수

반환 값

유형: System.Data. . :: . .DataTable
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.