AuditSpecificationDetail Structure
The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
| 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. |
| 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from ValueType.) |
![]() | GetHashCode() | (Inherited from ValueType.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from ValueType.) |
The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

