مشاركة عبر


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

The IServerAuditFacet type exposes the following members.

Properties

  Name Description
Public property C2AuditTracingEnabled Gets or sets a value that indicates whether the C2 audit tracing is enabled.
Public property DefaultTraceEnabled Indicates whether 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.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace