Freigeben über


C2AuditTracingEnabled-Eigenschaft

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

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

Syntax

'Declaration
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property C2AuditTracingEnabled As Boolean
    Get
    Set
'Usage
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)

Eigenschaftswert

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