Broker:Activation Event Class


Applies To: SQL Server 2016

SQL Server generates a Broker:Activation event when a queue monitor starts an activation stored procedure, sends a QUEUE_ACTIVATION notification, or when an activation stored procedure started by a queue monitor exits.

Data columnTypeDescriptionColumn numberFilterable
ClientProcessIDintThe ID assigned by the host computer to the process where the client application is running. This data column is populated if the client process ID is provided by the client.9Yes
DatabaseIDintThe ID of the database specified by the USE database statement, or the ID of the default database if no USE databasestatement has been issued for a given instance. SQL Server Profiler displays the name of the database if the ServerName data column is captured in the trace and the server is available. Determine the value for a database by using the DB_ID function.3Yes
EventClassintThe type of event class captured. Always 163 for Broker:Activation.27No
EventSequenceintSequence number for this event.51No
EventSubClassnvarcharThe specific action that this event reports. One of the following values:

 start: SQL Server started an activation stored procedure.

 ended: The activation stored procedure exited normally.

 aborted: The activation stored procedure exited with an error.
HostNamenvarcharThe name of the computer on which the client is running. This data column is populated if the host name is provided by the client. To determine the host name, use the HOST_NAME function.8Yes
IntegerDataintThe number of tasks active on this queue.25No
IsSystemintIndicates whether the event occurred on a system process or a user process. 1 = system, 0 = user.60No
LoginSidimageThe security identification number (SID) of the logged-in user. Each SID is unique for each login in the server.41Yes
NTDomainNamenvarcharThe Windows domain to which the user belongs.7Yes
NTUserNamenvarcharThe name of the user that owns the connection that generated this event.6Yes
ObjectIDintThe queue associated with this event.22No
ServerNamenvarcharThe name of the instance of SQL Server being traced.26No
SPIDintThe server process ID assigned by SQL Server to the process associated with the client.12Yes
StartTimedatetimeThe time at which the event started, when available.14Yes
TransactionIDbigintThe system-assigned ID of the transaction.4No

Community Additions