DatabaseAuditSpecificationCollection.Add 方法
Adds a DatabaseAuditSpecification object to the DatabaseAuditSpecificationCollection collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
databaseAuditSpecification As DatabaseAuditSpecification _
)
'用途
Dim instance As DatabaseAuditSpecificationCollection
Dim databaseAuditSpecification As DatabaseAuditSpecification
instance.Add(databaseAuditSpecification)
public void Add(
DatabaseAuditSpecification databaseAuditSpecification
)
public:
void Add(
DatabaseAuditSpecification^ databaseAuditSpecification
)
member Add :
databaseAuditSpecification:DatabaseAuditSpecification -> unit
public function Add(
databaseAuditSpecification : DatabaseAuditSpecification
)
參數
- databaseAuditSpecification
型別:Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecification
A DatabaseAuditSpecification object value that specifies the database audit specification to be added to the DatabaseAuditSpecificationCollection collection.