AuditSpecificationDetail Structure
The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Structure AuditSpecificationDetail
'Usage
Dim instance As AuditSpecificationDetail
public struct AuditSpecificationDetail
public value class AuditSpecificationDetail
[<SealedAttribute>]
type AuditSpecificationDetail = struct end
JScript suports the use of structures, but not the declaration of new ones.
The AuditSpecificationDetail type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from ValueType.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from ValueType.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from ValueType.) |
Top
Remarks
The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.