Partilhar via


Propriedade do RDL DatabaseAuditSpecifications

Representa uma coleção de objetos DatabaseAuditSpecification. Cada objeto DatabaseAuditSpecification representa uma especificação de auditoria de banco de dados definida no servidor.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(DatabaseAuditSpecification))> _
Public ReadOnly Property DatabaseAuditSpecifications As DatabaseAuditSpecificationCollection
    Get
'Uso
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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAuditSpecificationCollection
Um objeto DatabaseAuditSpecificationCollection que representa todas as especificações de auditoria de banco de dados definidas no servidor.

Comentários

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.