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
'Bildirim
Public Sub Add ( _
databaseAuditSpecification As DatabaseAuditSpecification _
)
'Kullanım
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
- databaseAuditSpecification
Type: Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecification
A DatabaseAuditSpecification object value that specifies the database audit specification to be added to the DatabaseAuditSpecificationCollection collection.