Dela via


AuditCollection.Add Method

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
)

Parameters