Audits 属性
Represents a collection of Audit objects. Each Audit object represents an audit log defined on the instance of SQL Server.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Audit))> _
Public ReadOnly Property Audits As AuditCollection
Get
用法
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
属性值
类型:Microsoft.SqlServer.Management.Smo. . :: . .AuditCollection
A AuditCollection object that represents all the audit logs defined on the instance of SQL Server.