Home:ALL Converter>Connect directly through an instance in C#

Connect directly through an instance in C#

Ask Time:2015-08-31T21:36:35         Author:user4481538

Json Formatter

Is there a way to connect to an instance directly without specifying a server and the username and password? So instead of

 connectionString = @"server=serverName" + "other things and password"

It'll be:

 connectionString = [direct instance connect]

Author:user4481538,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/32312619/connect-directly-through-an-instance-in-c-sharp
yy