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.