AuditCollection.Add-Methode
Adds the specified Audit object to the AuditCollection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
audit As Audit _
)
'Usage
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
)
Parameter
- audit
Typ: Microsoft.SqlServer.Management.Smo.Audit
The Audit object that is to be added to the AuditCollection.