Condividi tramite


NTEventLogging Property

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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);

Osservazioni

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: