Server.Audits Property
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Audit))> _
Public ReadOnly Property Audits As AuditCollection
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.AuditCollection
A AuditCollection object that represents all the audit logs defined on the instance of SQL Server.
See Also