共用方式為


DefaultTraceEnabled 屬性

Gets or sets the Boolean value that determines whether the referenced property is enabled.

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

語法

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

value = instance.DefaultTraceEnabled

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

屬性值

型別:System. . :: . .Boolean
A Boolean value whether the referenced property is enabled.
If True, the property is enabled. Otherwise, False.