Skip to main content
.NET 6.0+

MSSqlConnectionProvider.GetConnectionString2005WithCache Method

Name Parameters Description
GetConnectionString2005WithCache(String, String, String, String) static server, userId, password, database Returns a connection string used to open a specified Microsoft SQL database using provided login credentials and to enable the SqlDependency feature.
GetConnectionString2005WithCache(String, String) static server, database Returns a connection string used to open a specified Microsoft SQL database using Windows Integrated Security and to enable the SqlDependency feature.