ServerTraceEventSet.TraceErrorsAndWarnings Property
SQL Server 2012
Gets or sets a Boolean property value that specifies whether errors and warnings are recorded in the trace.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Property Value
Type: System.BooleanA Boolean value that specifies whether errors and warnings are included in the trace.If True, errors and warnings are recorded in the trace.If False (default), errors and warnings are not recorded in the trace.