DatabaseAuditSpecifications Propiedad
Represents a collection of DatabaseAuditSpecification objects. Each DatabaseAuditSpecification object represents an database audit specification defined on the server.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<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 de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAuditSpecificationCollection
An DatabaseAuditSpecificationCollection object that represents all the database audit specifications defined on the server.
Notas
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.
Vea también