Partilhar via


Propriedade C2AuditTracingEnabled

Specifies whether C2 audit tracing is enabled.

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

Sintaxe

'Declaração
<DisplayNameKeyAttribute("C2AuditTracingEnabledName")> _
<DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property C2AuditTracingEnabled As Boolean
    Get
    Set
'Uso
Dim instance As IServerAuditFacet
Dim value As Boolean

value = instance.C2AuditTracingEnabled

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

Valor da propriedade

Tipo: System. . :: . .Boolean
Boolean

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.