ServerTraceEventSet.TraceDatabase ServerTraceEventSet.TraceDatabase ServerTraceEventSet.TraceDatabase Property


Gets or sets a Boolean property value that specifies whether the Database category events are recorded in the trace.

 property bool TraceDatabase { bool get(); void set(bool value); };
public bool TraceDatabase { get; set; }
Public Property TraceDatabase As Boolean
Property Value

A Boolean value that specifies whether Database events are included in the trace.

If True, Database events are included in the trace.

If False (default), Database events are not included in the trace.


Handling SMO Events


This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to