DefaultTraceEnabled 属性
Indicates if there is a default trace level set for a server.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayNameKeyAttribute("DefaultTraceEnabledName")> _
<DisplayDescriptionKeyAttribute("DefaultTraceEnabledDesc")> _
Property DefaultTraceEnabled As Boolean
Get
Set
用法
Dim instance As IServerAuditFacet
Dim value As Boolean
value = instance.DefaultTraceEnabled
instance.DefaultTraceEnabled = value
[DisplayNameKeyAttribute("DefaultTraceEnabledName")]
[DisplayDescriptionKeyAttribute("DefaultTraceEnabledDesc")]
bool DefaultTraceEnabled { get; set; }
[DisplayNameKeyAttribute(L"DefaultTraceEnabledName")]
[DisplayDescriptionKeyAttribute(L"DefaultTraceEnabledDesc")]
property bool DefaultTraceEnabled {
bool get ();
void set (bool value);
}
[<DisplayNameKeyAttribute("DefaultTraceEnabledName")>]
[<DisplayDescriptionKeyAttribute("DefaultTraceEnabledDesc")>]
abstract DefaultTraceEnabled : bool with get, set
function get DefaultTraceEnabled () : boolean
function set DefaultTraceEnabled (value : boolean)
属性值
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。