The QueryContext type exposes the following members.

Constructors

  NameDescription
Public methodQueryContext
Initializes a new instance of the QueryContext class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyDBServerVersion
SQL Server version information
Public propertyDomainName
Windows domain name for the user that executed the query.
Public propertyEndDateTime
Local date/time on the system running the query at the time the query finished executing.
Public propertyMachineName
Machine name of the system that generated the query.
Public propertyProvider
LLBLGen provider information
Public propertySessionID
SQL Server session ID
Public propertyStartDateTime
Local date/time on the system running the query at the time the query was started.
Public propertyTotalRoundtripTime
Total client to SQL server roundtrip time between start of execution and completion.
Public propertyUserName
User name under which the code that generated the query was running.

See Also