DatabaseAuditSpecificationCollection.Add-Methode
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
)
Parameter
- databaseAuditSpecification
Typ: Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecification
A DatabaseAuditSpecification object value that specifies the database audit specification to be added to the DatabaseAuditSpecificationCollection collection.