Compartilhar via


Classe AuditCollection

The AuditCollection class represents a collection of Audit objects that represent all the audits on the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public NotInheritable Class AuditCollection _
    Inherits SimpleObjectCollectionBase
'Uso
Dim instance As AuditCollection
public sealed class AuditCollection : SimpleObjectCollectionBase
public ref class AuditCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type AuditCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class AuditCollection extends SimpleObjectCollectionBase

Comentários

An AuditCollection object can be used to gain access to a set of audits. You can use the Item property to return a specific Audit object.

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.