The QueryContext type exposes the following members.

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
Linq-to-SQL 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