DatabaseAuditSpecification Class
The DatabaseAuditSpecification object represents an auditable event on the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class DatabaseAuditSpecification _
Inherits AuditSpecification
'Usage
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
Remarks
The DatabaseAuditSpecification object represents information stored in the sys.Server_audit_specifications system table.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.SqlSmoObject
Microsoft.SqlServer.Management.Smo.NamedSmoObject
Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase
Microsoft.SqlServer.Management.Smo.AuditSpecification
Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecification
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.