SQLServer Object
Reads the specified SQL Server error log. Returns results in a QueryResult object.
QueryResults = SQLServer.ReadErrorLog ( [[LogNumber :=] lLogNumber] )
HRESULT pSQLServer->ReadErrorLog (
LPSQLOLEQUERYRESULTS* ppQueryResults,
long lLogNumber = 0 );
Element | Type | Description |
---|
QueryResults | QueryResults | Returned QueryResults object |
lLogNumber | Long | Log number |
ColumnName | ColumnType |
---|
C:\SQL60\LOG\ERRORLOG | SQLOLE_DTypeChar |