Select from following answers:
Show Correct Answer
- Catch exceptions of type SqlException. Iterate through the Errors collection and log each SqlError information.
- Add an event handler to the SqlConnection.InfoMessage event. Log messages that it receives.
- Catch exceptions of type SqlException. Log the InnerException exception Message property.
- All Above
Source: Measureup.com | |