Método ServerAuditSpecificationCollection.Add

Adds a ServerAuditSpecification object to the ServerAuditSpecificationCollection collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    serverAuditSpecification As ServerAuditSpecification _
)
'Uso
Dim instance As ServerAuditSpecificationCollection 
Dim serverAuditSpecification As ServerAuditSpecification

instance.Add(serverAuditSpecification)
public void Add(
    ServerAuditSpecification serverAuditSpecification
)
public:
void Add(
    ServerAuditSpecification^ serverAuditSpecification
)
member Add : 
        serverAuditSpecification:ServerAuditSpecification -> unit
public function Add(
    serverAuditSpecification : ServerAuditSpecification
)

Parâmetros

Exemplos

Usando coleções

Consulte também

Referência

ServerAuditSpecificationCollection Classe

Namespace Microsoft.SqlServer.Management.Smo