Add méthode
Adds a DatabaseAuditSpecification object to the DatabaseAuditSpecificationCollection collection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
databaseAuditSpecification As DatabaseAuditSpecification _
)
'Utilisation
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
)
Paramètres
- databaseAuditSpecification
Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAuditSpecification
A DatabaseAuditSpecification object value that specifies the database audit specification to be added to the DatabaseAuditSpecificationCollection collection.