Microsoft
70-516 · Question #172
You use Microsoft .NET Framework 4.0 to develop an application that connects to a Microsoft SQL Server 2008 database. You need to ensure that the application connects to the database server by using…
Sign in or unlock 70-516 to reveal the answer and full explanation for question #172. The question stem and answer options stay visible for context.
Implementing Data Access
Question
You use Microsoft .NET Framework 4.0 to develop an application that connects to a Microsoft SQL Server 2008 database. You need to ensure that the application connects to the database server by using SQL Server authentication. Which connection string should you use?
Options
- ASERVER=MyServer; DATABASE=AdventureWorks;
- BSERVER=MyServer; DATABASE=AdventureWorks;
- CSERVER=MyServer; DATABASE=AdventureWorks;
- DSERVER=MyServer; DATABASE=AdventureWorks;
Unlock 70-516 to see the answer
You've previewed enough free 70-516 questions. Unlock 70-516 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.
Topics
#connection strings#SQL Server authentication#ADO.NET#security