Méthode AuditCollection.Add
Adds the specified Audit object to the AuditCollection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
audit As Audit _
)
'Utilisation
Dim instance As AuditCollection
Dim audit As Audit
instance.Add(audit)
public void Add(
Audit audit
)
public:
void Add(
Audit^ audit
)
member Add :
audit:Audit -> unit
public function Add(
audit : Audit
)
Paramètres
- audit
Type : Microsoft.SqlServer.Management.Smo.Audit
The Audit object that is to be added to the AuditCollection.