Udostępnij za pośrednictwem


Configuration.DefaultTraceEnabled Property

Gets the ConfigProperty object that is used to set the default trace enabled configuration option.

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

Syntax

'Deklaracja
Public ReadOnly Property DefaultTraceEnabled As ConfigProperty
public ConfigProperty DefaultTraceEnabled { get; }
public:
property ConfigProperty^ DefaultTraceEnabled {
    ConfigProperty^ get ();
}
/** @property */
public ConfigProperty get_DefaultTraceEnabled ()
public function get DefaultTraceEnabled () : ConfigProperty

Property Value

A ConfigProperty object that specifies the settings for the default trace enabled configuration option.

Remarks

The DefaultTraceEnabled property sets the default trace enabled configuration option. This property is used to enable the SQL Server default trace.

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.