Export (0) Print
Expand All

IDbConnection.ChangeDatabase Method

Changes the current database for an open Connection object.

[Visual Basic]
Sub ChangeDatabase( _
   ByVal databaseName As String _
)
[C#]
void ChangeDatabase(
   string databaseName
);
[C++]
void ChangeDatabase(
   String* databaseName
);
[JScript]
function ChangeDatabase(
   databaseName : String
);

Parameters

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDbConnection Interface | IDbConnection Members | System.Data Namespace

Show:
© 2014 Microsoft