Propriedade do RDL IServerAuditFacet.C2AuditTracingEnabled
Gets or sets a value that indicates whether the C2 audit tracing is enabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")> _
<DisplayNameKeyAttribute("C2AuditTracingEnabledName")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property C2AuditTracingEnabled As Boolean
Get
Set
'Uso
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)
Valor da propriedade
Tipo: System.Boolean
true if the C2 audit tracing is enabled; otherwise, false.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo