Microsoft
70-518 · Question #84
70-518 Question #84: Real Exam Question with Answer & Explanation
Sign in or unlock 70-518 to reveal the answer and full explanation for question #84. The question stem and answer options stay visible for context.
Question
You are designing a Windows Forms application. The application connects to a Microsoft SQL Server 2008 database. You need to recommend an approach for retrieving and logging all informational messages and error messages reported by the database. What should you recommend?
Options
- ARetrieve informational messages in a SqlException object.
- BRetrieve informational messages by creating a handler for the InfoMessage event.
- CRetrieve informational messages and error messages by creating a handler for the
- DRetrieve informational messages and error messages in a SqlException object.
Unlock 70-518 to see the answer
You've previewed enough free 70-518 questions. Unlock 70-518 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.