Condividi tramite


Proprietà DatabaseAuditSpecifications

Rappresenta una raccolta di oggetti DatabaseAuditSpecification. Ogni oggetto DatabaseAuditSpecification rappresenta una specifica del controllo del database definita nel server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(DatabaseAuditSpecification))> _
Public ReadOnly Property DatabaseAuditSpecifications As DatabaseAuditSpecificationCollection
    Get
'Utilizzo
Dim instance As Database
Dim value As DatabaseAuditSpecificationCollection

value = instance.DatabaseAuditSpecifications
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(DatabaseAuditSpecification))]
public DatabaseAuditSpecificationCollection DatabaseAuditSpecifications { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(DatabaseAuditSpecification))]
public:
property DatabaseAuditSpecificationCollection^ DatabaseAuditSpecifications {
    DatabaseAuditSpecificationCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(DatabaseAuditSpecification))>]
member DatabaseAuditSpecifications : DatabaseAuditSpecificationCollection
function get DatabaseAuditSpecifications () : DatabaseAuditSpecificationCollection

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAuditSpecificationCollection
Oggetto DatabaseAuditSpecificationCollection che rappresenta tutte le specifiche del controllo del database definite nel server.

Osservazioni

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.