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.