Bewerken

Delen via


IDbConnection.ChangeDatabase(String) Method

Definition

Changes the current database for an open Connection object.

public:
 void ChangeDatabase(System::String ^ databaseName);
public void ChangeDatabase (string databaseName);
abstract member ChangeDatabase : string -> unit
Public Sub ChangeDatabase (databaseName As String)

Parameters

databaseName
String

The name of the database to use in place of the current database.

Applies to