Audits Propiedad
Represents a collection of Audit objects. Each Audit object represents an audit log defined on the instance of SQL 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(Audit))> _
Public ReadOnly Property Audits As AuditCollection
Get
'Uso
Dim instance As Server
Dim value As AuditCollection
value = instance.Audits
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(Audit))]
public AuditCollection Audits { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(Audit))]
public:
property AuditCollection^ Audits {
AuditCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(Audit))>]
member Audits : AuditCollection
function get Audits () : AuditCollection
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .AuditCollection
A AuditCollection object that represents all the audit logs defined on the instance of SQL Server.
Vea también