DatabaseAuditSpecifications 属性
表示 DatabaseAuditSpecification 对象的集合。每个 DatabaseAuditSpecification 对象都表示对服务器定义的一个数据库审核规范。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(DatabaseAuditSpecification))> _
Public ReadOnly Property DatabaseAuditSpecifications As DatabaseAuditSpecificationCollection
Get
用法
Dim instance As Database
Dim value As DatabaseAuditSpecificationCollection
value = instance.DatabaseAuditSpecifications
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(DatabaseAuditSpecification))]
public DatabaseAuditSpecificationCollection DatabaseAuditSpecifications { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(DatabaseAuditSpecification))]
public:
property DatabaseAuditSpecificationCollection^ DatabaseAuditSpecifications {
DatabaseAuditSpecificationCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(DatabaseAuditSpecification))>]
member DatabaseAuditSpecifications : DatabaseAuditSpecificationCollection
function get DatabaseAuditSpecifications () : DatabaseAuditSpecificationCollection
属性值
类型:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAuditSpecificationCollection
一个 DatabaseAuditSpecificationCollection 对象,该对象表示对服务器定义的所有数据库审核规范。
注释
Specific database audit specifications can be referenced by using this collection by specifying the name of the database audit specification. To add a new database audit specification to the collection, call the database audit specification constructor DatabaseAuditSpecification.