IServerAuditFacet.C2AuditTracingEnabled Property
Applies To: SQL Server 2016 Preview
Gets or sets a value that indicates whether the C2 audit tracing is enabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
[DisplayNameKeyAttribute("C2AuditTracingEnabledName")]
[DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")]
bool C2AuditTracingEnabled { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
[DisplayNameKeyAttribute("C2AuditTracingEnabledName")]
[DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")]
property bool C2AuditTracingEnabled {
bool get();
void set(bool value);
}
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
[<DisplayNameKeyAttribute("C2AuditTracingEnabledName")>]
[<DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")>]
abstract C2AuditTracingEnabled : bool with get, set
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>
<DisplayNameKeyAttribute("C2AuditTracingEnabledName")>
<DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")>
Property C2AuditTracingEnabled As Boolean
Property Value
Type: System.Boolean
true if the C2 audit tracing is enabled; otherwise, false.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
See Also
IServerAuditFacet Interface
Microsoft.SqlServer.Management.Smo Namespace
c2 audit mode Server Configuration Option
Return to top