The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DbConnection::ChangeDatabase Method (String^)
.NET Framework (current version)
Changes the current database for an open connection.
Assembly: System.Data (in System.Data.dll)
Parameters
- databaseName
-
Type:
System::String^
Specifies the name of the database for the connection to use.
Implements
IDbConnection::ChangeDatabase(String^)The value supplied in the databaseName parameter must be a valid database name for the current instance.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: