共用方式為


C2AuditTracingEnabled 屬性

Gets a Boolean value that specifies if the C2 audit tracing is set.

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

語法

'宣告
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property C2AuditTracingEnabled As Boolean
    Get
    Set
'用途
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.C2AuditTracingEnabled

instance.C2AuditTracingEnabled = value
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
bool C2AuditTracingEnabled { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property bool C2AuditTracingEnabled {
    bool get ();
    void set (bool value);
}
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
abstract C2AuditTracingEnabled : bool with get, set
function get C2AuditTracingEnabled () : boolean
function set C2AuditTracingEnabled (value : boolean)

屬性值

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