NTEventLogging Property

SQL-DMO

SQL-DMO

NTEventLogging Property

The NTEventLogging property reports Microsoft® SQL Server™ 2000 use of the Microsoft Windows application log.

Applies To
Registry Object
Syntax

object.NTEventLogging

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetNTEventLogging(LPBOOL pRetVal);

Remarks

If TRUE, SQL Server sends all events to the Windows application log and the SQL Server error log.

If FALSE, SQL Server sends events only to the SQL Server error log.