Dela via


IServerAuditFacet Interface

Interface that identifies audit facet members.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")> _
<DisplayNameKeyAttribute("ServerAuditName")> _
<DisplayDescriptionKeyAttribute("ServerAuditDesc")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public Interface IServerAuditFacet _
    Inherits IDmfFacet
'Usage
Dim instance As IServerAuditFacet
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute("ServerAuditName")]
[DisplayDescriptionKeyAttribute("ServerAuditDesc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
public interface IServerAuditFacet : IDmfFacet
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute(L"ServerAuditName")]
[DisplayDescriptionKeyAttribute(L"ServerAuditDesc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
public interface class IServerAuditFacet : IDmfFacet
[<CLSCompliantAttribute(false)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")>]
[<DisplayNameKeyAttribute("ServerAuditName")>]
[<DisplayDescriptionKeyAttribute("ServerAuditDesc")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
type IServerAuditFacet =  
    interface
        interface IDmfFacet
    end
public interface IServerAuditFacet extends IDmfFacet

The IServerAuditFacet type exposes the following members.

Properties

  Name Description
Public property C2AuditTracingEnabled Specifies whether C2 audit tracing is enabled.
Public property DefaultTraceEnabled Indicates if there is a default trace level set for a server.
Public property LoginAuditLevel Gets or sets a login audit level.

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.