DBA > Job Interview Questions > Microsoft SQL Server FAQs

Which of the following classes provide the conte

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

Which of the following classes provide the context of the caller to SQLCLR Assemblies? Submitted by Michael Coles

Answer: Microsoft.SqlServer.Server.SqlContext

Explanation: The answer is 1:Microsoft.SqlServer.Server.SqlContext
SQLCLR Assemblies can use the Microsoft.SqlServer.Server.SqlContext class - it is an abstraction of the caller's context. Objects exposed by SqlContext include SqlPipe, SqlTriggerContext, and WindowsIdentity.

(Continued on next question...)

Other Job Interview Questions