Compartir a través de


TraceErrorsAndWarnings Propiedad

Gets or sets a Boolean property value that specifies whether errors and warnings are recorded in the trace.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Property TraceErrorsAndWarnings As Boolean
    Get
    Set
'Uso
Dim instance As ServerTraceEventSet
Dim value As Boolean

value = instance.TraceErrorsAndWarnings

instance.TraceErrorsAndWarnings = value
public bool TraceErrorsAndWarnings { get; set; }
public:
property bool TraceErrorsAndWarnings {
    bool get ();
    void set (bool value);
}
member TraceErrorsAndWarnings : bool with get, set
function get TraceErrorsAndWarnings () : boolean
function set TraceErrorsAndWarnings (value : boolean)

Valor de la propiedad

Tipo: System. . :: . .Boolean
A 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.

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.