Share via


NTEventLogging Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

object.NTEventLogging

Parts

  • object
    An 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.

Applies To: