Server.Audits Property
Represents a collection of Audit objects. Each Audit object represents an audit log defined on the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(Audit))> _
Public ReadOnly Property Audits As AuditCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(Audit))]
public AuditCollection Audits { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(Audit))]
public:
property AuditCollection^ Audits {
AuditCollection^ get ();
}
/** @property */
public AuditCollection get_Audits ()
public function get Audits () : AuditCollection
Property Value
A AuditCollection object that represents all the audit logs defined on the instance of SQL Server.
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.
See Also