Database.DatabaseAuditSpecifications Property
SQL Server 2008
Represents a collection of DatabaseAuditSpecification objects. Each DatabaseAuditSpecification object represents an database audit specification defined on the server.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(DatabaseAuditSpecification))] public DatabaseAuditSpecificationCollection DatabaseAuditSpecifications { get; }
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecificationCollectionAn DatabaseAuditSpecificationCollection object that represents all the database audit specifications defined on the server.
Specific database audit specifications can be referenced by using this collection by specifying the name of the database audit specification. To add a new database audit specification to the collection, call the database audit specification constructor DatabaseAuditSpecification.
