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) | Initializes a new instance of the AuditSpecificationDetail class with the specified action. | |
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) | Initializes a new instance of the AuditSpecificationDetail class for the specified action, class, schema, name, and principal. |
上層
屬性
名稱 | 說明 | |
---|---|---|
Action | Gets the type of action to be monitored during the audit. | |
ObjectClass | Gets the class of the object to be audited. | |
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。) | |
GetHashCode | (繼承自 ValueType。) | |
GetType | (繼承自 Object。) | |
ToString | (繼承自 ValueType。) |
上層
備註
The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。