DatabaseAuditSpecificationCollection.Add Method

Adds a DatabaseAuditSpecification object to the DatabaseAuditSpecificationCollection collection.

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

Syntax

'Declaration
Public Sub Add ( _
    databaseAuditSpecification As DatabaseAuditSpecification _
)
'Usage
Dim instance As DatabaseAuditSpecificationCollection 
Dim databaseAuditSpecification As DatabaseAuditSpecification

instance.Add(databaseAuditSpecification)
public void Add(
    DatabaseAuditSpecification databaseAuditSpecification
)
public:
void Add(
    DatabaseAuditSpecification^ databaseAuditSpecification
)
member Add : 
        databaseAuditSpecification:DatabaseAuditSpecification -> unit
public function Add(
    databaseAuditSpecification : DatabaseAuditSpecification
)

Parameters

Examples

Using Collections

See Also

Reference

DatabaseAuditSpecificationCollection Class

Microsoft.SqlServer.Management.Smo Namespace