AuditCollection.Add Método
Adds the specified Audit object to the AuditCollection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
audit As Audit _
)
'Uso
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
)
Parámetros
- audit
Tipo: Microsoft.SqlServer.Management.Smo.Audit
The Audit object that is to be added to the AuditCollection.