Changes the current database for an open connection.
Syntax
public abstract
void ChangeDatabase (
string databaseName)
Parameters
- databaseName
-
Specifies the name of the database for the connection to use.
Remarks
Requirements
Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0