Partilhar via


TraceColumn Enum

Definition

Represent the trace event columns.

[System.Runtime.InteropServices.Guid("46080753-2524-4faf-8BD1-EDFDA1085209")]
public enum TraceColumn
[<System.Runtime.InteropServices.Guid("46080753-2524-4faf-8BD1-EDFDA1085209")>]
type TraceColumn = 
Public Enum TraceColumn
Inheritance
TraceColumn
Attributes

Fields

Name Value Description
EventClass 0

Event Class is used to categorize events.

EventSubclass 1

Event Subclass provides additional information about each event class.

CurrentTime 2

Time at which the event started, when available. For filtering, expected formats are 'YYYY-MM-DD' and 'YYYY-MM-DD HH:MM:SS'.

StartTime 3

Time at which the event started, when available. For filtering, expected formats are 'YYYY-MM-DD' and 'YYYY-MM-DD HH:MM:SS'.

EndTime 4

Time at which the event ended. This column is not populated for starting event classes, such as SQL:BatchStarting or SP:Starting. For filtering, expected formats are 'YYYY-MM-DD' and 'YYYY-MM-DD HH:MM:SS'.

Duration 5

Amount of time (in milliseconds) taken by the event.

CpuTime 6

Amount of CPU time (in milliseconds) used by the event.

JobID 7

Job ID for progress.

SessionType 8

Session type (what entity caused the operation).

ProgressTotal 9

Progress total.

IntegerData 10

Integer data.

ObjectID 11

Object ID (note this is a string).

ObjectType 12

Object type.

ObjectName 13

Object name.

ObjectPath 14

Object path. A comma-separated list of parents, starting with the object's parent.

ObjectReference 15

Object reference. Encoded as XML for all parents, using tags to describe the object.

Severity 22

Severity level of an exception.

Success 23

1 = success. 0 = failure (for example, a 1 means success of a permissions check and a 0 means a failure of that check).

Error 24

Error number of a given event.

ConnectionID 25

Unique connection ID.

DatabaseName 28

Name of the database in which the statement of the user is running.

NTUserName 32

Windows user name.

NTDomainName 33

Windows domain to which the user belongs.

ClientHostName 35

Name of the computer on which the client is running. This data column is populated if the host name is provided by the client.

ClientProcessID 36

The process ID of the client application.

ApplicationName 37

Name of the client application that created the connection to the server. This column is populated with the values passed by the application rather than the displayed name of the program.

SessionID 39

Session GUID.

NTCanonicalUserName 40

User name in canonical form. For example, engineering.microsoft.com/software/someone.

Spid 41

Server process ID. This uniquely identifies a user session. This directly corresponds to the session GUID used by XML/A.

TextData 42

Text data associated with the event.

ServerName 43

Name of the server producing the event.

RequestParameters 44

Parameters for parameterized queries and commands.

RequestProperties 45

XMLA request properties.

ActivityID 46

The activity ID is used to track the request(s) from the same operation.

RequestID 47

The request ID is used to track a request.

CalculationExpression 48

Expression being evaluated when error occurred.

ErrorType 49

Error Type: 0 = unknown, 1 = user, 2 = system.

FunctionName 50

Name of the Dax extension function being executed.

UserObjectID 51

User Object ID.

ApplicationContext 52

The value of the ApplicationContext XMLA property as provided by external applications to assist with end-to-end correlation of user activities.

GraphCorrelationID 53

Deprecated

DatabaseFriendlyName 54

User defined name of the database in which the statement of the user is running.

Identity 55

Identity information of current user

Label 56

Label of the event

Applies to