C2AuditTracingEnabled-Eigenschaft
Specifies whether C2 audit tracing is enabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")> _
<DisplayNameKeyAttribute("C2AuditTracingEnabledName")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property C2AuditTracingEnabled As Boolean
Get
Set
'Usage
Dim instance As IServerAuditFacet
Dim value As Boolean
value = instance.C2AuditTracingEnabled
instance.C2AuditTracingEnabled = value
[DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")]
[DisplayNameKeyAttribute("C2AuditTracingEnabledName")]
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
bool C2AuditTracingEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"C2AuditTracingEnabledDesc")]
[DisplayNameKeyAttribute(L"C2AuditTracingEnabledName")]
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property bool C2AuditTracingEnabled {
bool get ();
void set (bool value);
}
[<DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")>]
[<DisplayNameKeyAttribute("C2AuditTracingEnabledName")>]
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
abstract C2AuditTracingEnabled : bool with get, set
function get C2AuditTracingEnabled () : boolean
function set C2AuditTracingEnabled (value : boolean)
Eigenschaftswert
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.
Siehe auch