.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

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.