AuditCollection.Add 方法
Adds the specified Audit object to the AuditCollection.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
audit As Audit _
)
用法
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
)
参数
- audit
类型:Microsoft.SqlServer.Management.Smo.Audit
The Audit object that is to be added to the AuditCollection.