Database.DatabaseAuditSpecifications Database.DatabaseAuditSpecifications Database.DatabaseAuditSpecifications Property

Definition

Gets a collection of DatabaseAuditSpecification objects. Each DatabaseAuditSpecification object represents a database audit specification defined on the server.

public:
 property Microsoft::SqlServer::Management::Smo::DatabaseAuditSpecificationCollection ^ DatabaseAuditSpecifications { Microsoft::SqlServer::Management::Smo::DatabaseAuditSpecificationCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecification))]
public Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecificationCollection DatabaseAuditSpecifications { get; }
Public ReadOnly Property DatabaseAuditSpecifications As DatabaseAuditSpecificationCollection
Property Value

Remarks

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.

Applies to