Partilhar via


TRC_DATABASE

This event type or event group can be specified when you create Event Notifications to monitor and respond to activity in the database or server instance. Event notifications can be created directly in the SQL Server Database Engine or by using the WMI Provider for Server Events. Some events can also be used when you create DDL triggers. For more information, see Designing DDL Triggers.

Parent: TRC_ALL_EVENTS

Children: LOG_FILE_AUTO_GROW, DATABASE_MIRRORING_STATE_CHANGE, LOG_FILE_AUTO_SHRINK, DATA_FILE_AUTO_SHRINK, DATA_FILE_AUTO_GROW

Properties

Inherited from Parents

Name CIM Type

SQLInstance

String

SessionLoginName

String

SPID

Sint32

EventSequence

Sint32

ComputerName

String

PostTime

DateTime

Event Properties

Name CIM Type

LoginSid

Uint8[]

IsSystem

Sint32

DatabaseName

String

DatabaseID

Sint32

IntegerData

Sint32

StartTime

DateTime