AuditSpecificationDetail 结构
The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Structure AuditSpecificationDetail
用法
Dim instance As AuditSpecificationDetail
public struct AuditSpecificationDetail
public value class AuditSpecificationDetail
[<SealedAttribute>]
type AuditSpecificationDetail = struct end
JScript 支持使用结构,但不支持声明新结构。
AuditSpecificationDetail 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
AuditSpecificationDetail(AuditActionType) | ||
AuditSpecificationDetail(AuditActionType, String, String) | Initializes a new instance of the AuditSpecificationDetail class for the specified action, object and principal. | |
AuditSpecificationDetail(AuditActionType, String, String, String) | Initializes a new instance of the AuditSpecificationDetail class for the specified action, object, schema and principal. | |
AuditSpecificationDetail(AuditActionType, String, String, String, String) |
页首
属性
名称 | 说明 | |
---|---|---|
Action | Gets the type of action to be monitored during the audit. | |
ObjectClass | ||
ObjectName | Gets the name of the object to be monitored during the audit. | |
ObjectSchema | Gets the schema of the object to be monitored during the audit. | |
Principal | Gets the name of the principal to be monitored during the audit. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 ValueType 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 ValueType 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 ValueType 继承。) |
页首
注释
The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。