Windows apps
Collapse the table of content
Expand the table of content
Information
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.

IDbConnection::ChangeDatabase Method (String^)

 

Changes the current database for an open Connection object.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

void ChangeDatabase(
	String^ databaseName
)

Parameters

databaseName
Type: System::String^

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft