Свойство IServerAuditFacet.C2AuditTracingEnabled

Gets or sets a value that indicates whether the C2 audit tracing is enabled.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("C2AuditTracingEnabledDesc")> _
<DisplayNameKeyAttribute("C2AuditTracingEnabledName")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property C2AuditTracingEnabled As Boolean 
    Get 
    Set
'Применение
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)

Значение свойства

Тип: System.Boolean
true if the C2 audit tracing is enabled; otherwise, false.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

См. также

Справочник

IServerAuditFacet Интерфейс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Параметр конфигурации сервера «c2 audit mode»