Compartilhar via


Classe ServerAuditSpecificationCollection

The ServerAuditSpecificationCollection class represents a collection of ServerAuditSpecification objects that represent all the audit specifications defined on the server.

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

Sintaxe

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

Comentários

A ServerAuditSpecificationCollection object can be used to gain access to a set of server audit specifications. You can use the Item property to return a specific ServerAuditSpecification object.

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

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.