Condividi tramite


Classe ServerAuditSpecificationCollection

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ServerAuditSpecificationCollection _
    Inherits SimpleObjectCollectionBase
'Utilizzo
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

Osservazioni

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

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.