Code snippet for having a named instance of SQL Server would be :
A. “Server=localhost\sqlexpress”
B. “Server=local\sqlexpress”
C. “Server=host\sqlexpress”
D. “Ser=localhost\sqlexpress”
Answer:A
Code snippet for having a named instance of SQL Server would be :
A. “Server=localhost\sqlexpress” B. “Server=local\sqlexpress” C. “Server=host\sqlexpress” D. “Ser=localhost\sqlexpress”
Explanation:An instance of the SqlConnection class in .NET Framework is supported the Data Provider for SQL Server Database.