Sdílet prostřednictvím


sys.server_audit_specifications (Transact-SQL)

Contains information about the server audit specifications in a SQL Server audit on a server instance. For more information on SQL Server Audit, see Understanding SQL Server Audit.

Column name

Data type

Description

name

Sysname

Name of the server specification.

server_specification_id

Int

ID of the server_specification.

create_date

Datetime

Date the audit server specification was created.

modified_date

Datetime

Date the audit server specification was last modified.

is_state_enabled

tinyint

Audit specifications state:0 – ENABLED1 – DISABLED

audit_GUID

uniqueidentifier

GUID for the audit that contains this specification. Used during enumeration of member server audit specifications during server startup.

Permissions

Principals with the VIEW AUDIT STATE permission have access to this catalog view.

In SQL Server 2005 and later versions, the visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.

See Also

Reference

Concepts