The QueryContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
DBServerVersion |
SQL Server version information
| |
DomainName |
Windows domain name for the user that executed the query.
| |
EndDateTime |
Local date/time on the system running the query at the time the query finished executing.
| |
MachineName |
Machine name of the system that generated the query.
| |
Provider |
Linq-to-SQL provider information
| |
SessionID |
SQL Server session ID
| |
StartDateTime |
Local date/time on the system running the query at the time the query was started.
| |
TotalRoundtripTime |
Total client to SQL server roundtrip time between start of execution and completion.
| |
UserName |
User name under which the code that generated the query was running.
|