System.Data Namespace IDbConnection Class
Changes the current database for an open IDbConnection.
[ VB ]
NotOverridable Public Sub ChangeDatabase ( _
ByVal databaseName As String _
)
[ C# ]
public void ChangeDatabase (
string databaseName
);
[ C++ ]
public: __sealed void ChangeDatabase (
String* databaseName
);
[ C++ ]
public function ChangeDatabase (
databaseName : String
);
- databaseName
- The database name.
The value supplied in the databaseName parameter must be a valid database name. The databaseName parameter cannot contain a null value, be empty, or contain a string with only blank characters.
IDbConnection Members Database