The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

MSSqlConnectionProvider.GetConnectionString Method

Name Parameters Description
GetConnectionString(String, Int32, String) static server, port, database

Returns a connection string used to open a specified MS SQL database using provided login credentials.

GetConnectionString(String, Int32, String, String, String) static server, port, userId, password, database

Returns a connection string used to open a specified MS SQL database using provided login credentials.

GetConnectionString(String, String) static server, database

Returns a connection string used to open a specified MS SQL database using Windows Integrated Security.

GetConnectionString(String, String, String, String) static server, userId, password, database

Returns a connection string used to open a specified MS SQL database using provided login credentials.