.NET Framework 4.5
The SqlContext type exposes the following members.
|IsAvailable||Specifies whether the calling code is running within SQL Server, and if the context connection can be accessed.|
|Pipe||Gets the pipe object that allows the caller to send result sets, messages, and the results of executing commands back to the client.|
|TriggerContext||Gets the trigger context used to provide the caller with information about what caused the trigger to fire, and a map of the columns that were updated.|
|WindowsIdentity||The Microsoft Windows identity of the caller.|