ServerTraceEventSet.TraceDatabase Property
SQL Server 2005
Gets or sets a Boolean property value that specifies whether the Database category events are recorded in the trace.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
/** @property */ public boolean get_TraceDatabase () /** @property */ public void set_TraceDatabase (boolean value)
public function get TraceDatabase () : boolean public function set TraceDatabase (value : 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.Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.