Sdílet prostřednictvím


TraceEventArgs Class

Definition

Defines the identifiers and values associated with a trace event. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("9324A406-7388-49a1-BA4A-8A6D4D9DD98C")]
public sealed class TraceEventArgs : EventArgs
[<System.Runtime.InteropServices.Guid("9324A406-7388-49a1-BA4A-8A6D4D9DD98C")>]
type TraceEventArgs = class
    inherit EventArgs
Public NotInheritable Class TraceEventArgs
Inherits EventArgs
Inheritance
TraceEventArgs
Attributes

Constructors

TraceEventArgs()

Properties

ApplicationName

Gets the application name associated with a TraceEventArgs object.

ClientHostName

Gets the client host name associated with a TraceEventArgs object.

ClientProcessID

Gets the client process identifier associated with a TraceEventArgs object.

ConnectionID

Gets the connection identifier associated with a TraceEventArgs object.

CpuTime

Gets the CPU time associated with a TraceEventArgs object.

CurrentTime

Gets the current date and time associated with a TraceEventArgs object.

DatabaseName

Gets the Database name associated with a TraceEventArgsTraceEventArgs object.

Duration

Gets the duration value associated with a TraceEventArgs object.

EndTime

Gets the end time associated with a TraceEventArgs object.

Error

Gets the error property associated with a TraceEventArgs object.

EventClass

Gets the event class associated with a TraceEventArgs object.

EventSubclass

Gets the event subclass associated with a TraceEventArgs object.

IntegerData

Gets the Integer data associated with a TraceEventArgs object.

Item[TraceColumn]

Corresponds to the indexor property in the C# language. It allows indexing of a collection in the same manner as with arrays.

JobID

Gets the job identifier associated with a TraceEventArgs object.

NTCanonicalUserName

Gets the NT canonical user name associated with a TraceEventArgs object.

NTDomainName

Gets the NT domain name associated with a TraceEventArgs object.

NTUserName

Gets the NT user name associated with a TraceEventArgs object.

ObjectID

Gets the object identifier associated with a TraceEventArgs object.

ObjectName

Gets the object name associated with a TraceEventArgs object.

ObjectPath

Gets the object path associated with a TraceEventArgs object.

ObjectReference

Gets the object reference associated with a TraceEventArgs object.

ObjectType

Gets the object type associated with a TraceEventArgs object.

ProgressTotal

Gets the progress total associated with a TraceEventArgs object.

RequestParameters

Gets the request parameters associated with a TraceEventArgs object.

RequestProperties

Gets the request properties associated with a TraceEventArgs object.

ServerName

Gets the server name associated with a TraceEventArgs object.

SessionID

Gets the session identifier associated with a TraceEventArgs object.

SessionType

Gets the session type associated with a TraceEventArgs object.

Severity

Gets the severity associated with a TraceEventArgs object.

Spid

Gets the active server process identifier (SPID) on which to execute the parent object.

StartTime

Gets the date and time at which a TraceEventArgs object's trace started.

Success

Gets the success property associated with the trace indicated by a TraceEventArgs object's trace.

TextData

Gets the text data information associated with a TraceEventArgs object.

XmlaMessages

Gets the collection of XMLA messages associated with a TraceEventArgs object.

Applies to