Udostępnij przez


Database.DatabaseAuditSpecifications Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(DatabaseAuditSpecification))> _
Public ReadOnly Property DatabaseAuditSpecifications As DatabaseAuditSpecificationCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(DatabaseAuditSpecification))] 
public DatabaseAuditSpecificationCollection DatabaseAuditSpecifications { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(DatabaseAuditSpecification))] 
public:
property DatabaseAuditSpecificationCollection^ DatabaseAuditSpecifications {
    DatabaseAuditSpecificationCollection^ get ();
}
/** @property */
public DatabaseAuditSpecificationCollection get_DatabaseAuditSpecifications ()
public function get DatabaseAuditSpecifications () : DatabaseAuditSpecificationCollection

Property Value

An DatabaseAuditSpecificationCollection object that represents all the database audit specifications defined on the server.

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.