ChangeDatabase Method
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft