PrepAway - Latest Free Exam Questions & Answers

What should you recommend?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
Retrieve informational messages and error messages in a SqlException object.

B.
Retrieve informational messages in a SqlException object. Retrieve error messages by
creating a handler for the InfoMessage event.

C.
Retrieve informational messages by creating a handler for the InfoMessage event.
Retrieve error messages in a SqlException object.

D.
Retrieve informational messages and error messages by creating a handler for the
InfoMessage event.


Leave a Reply