Skip to main content
.NET Framework 4.6.2+

MSSqlConnectionProvider.GetConnectionString2005CacheRoot Method

Name Parameters Description
GetConnectionString2005CacheRoot(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.
GetConnectionString2005CacheRoot(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.