Udostępnij przez


IServerAuditFacet.DefaultTraceEnabled Property

Indicates if there is a default trace level set for a server. This property is not CLS-compliant.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<DisplayNameKeyAttribute("DefaultTraceEnabledName")> _
<DisplayDescriptionKeyAttribute("DefaultTraceEnabledDesc")> _
Property DefaultTraceEnabled As Boolean
[DisplayNameKeyAttribute("DefaultTraceEnabledName")] 
[DisplayDescriptionKeyAttribute("DefaultTraceEnabledDesc")] 
bool DefaultTraceEnabled { get; set; }
[DisplayNameKeyAttribute(L"DefaultTraceEnabledName")] 
[DisplayDescriptionKeyAttribute(L"DefaultTraceEnabledDesc")] 
property bool DefaultTraceEnabled {
    bool get ();
    void set (bool value);
}
/** @property */
boolean get_DefaultTraceEnabled ()

/** @property */
void set_DefaultTraceEnabled (boolean value)
function get DefaultTraceEnabled () : boolean

function set DefaultTraceEnabled (value : boolean)

Property Value

Boolean

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.