Compartilhar via


Classe DatabaseAuditSpecification

The DatabaseAuditSpecification object represents an auditable event on the database.

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

Sintaxe

'Declaração
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class DatabaseAuditSpecification _
    Inherits AuditSpecification
'Uso
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

Comentários

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.