Export (0) Print
Expand All

sys.dm_audit_class_type_map (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Returns a table that maps the class_type field in the audit log to the class_desc field in sys.dm_audit_actions. For more information about SQL Server Audit, see SQL Server Audit (Database Engine).

Applies to: SQL Server (SQL Server 2008 through current version).

Column name

Data type




The class type of the entity that was audited. Maps to the class_type written to the audit log and returned by the get_audit_file() function. Is not nullable.



The name for the auditable entity. Is not nullable.



The securable object that maps to the class_type being audited. Is NULL if the class_type does not map to a securable object. Can be related to class_desc in sys.dm_audit_actions.

Principal must have SELECT permission. By default, this is granted to Public.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft