共用方式為


DatabaseAuditSpecification 類別

The DatabaseAuditSpecification object represents an auditable event on the database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class DatabaseAuditSpecification _
    Inherits AuditSpecification
'用途
Dim instance As DatabaseAuditSpecification
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute]
public sealed class DatabaseAuditSpecification : AuditSpecification
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[PhysicalFacetAttribute]
public ref class DatabaseAuditSpecification sealed : public AuditSpecification
[<SealedAttribute>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<PhysicalFacetAttribute>]
type DatabaseAuditSpecification =  
    class
        inherit AuditSpecification
    end
public final class DatabaseAuditSpecification extends AuditSpecification

備註

The DatabaseAuditSpecification object represents information stored in the sys.Server_audit_specifications system table.

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。