共用方式為


DefaultTraceEnabled 屬性

Gets or sets a Boolean value that specifies if the DefaultTraceEnabled property is set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Property DefaultTraceEnabled As Boolean
    Get
    Set
'用途
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.DefaultTraceEnabled

instance.DefaultTraceEnabled = value
bool DefaultTraceEnabled { get; set; }
property bool DefaultTraceEnabled {
    bool get ();
    void set (bool value);
}
abstract DefaultTraceEnabled : bool with get, set
function get DefaultTraceEnabled () : boolean
function set DefaultTraceEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean
True if the property is set. False if the property is not set.