System.Data.Odbc.OdbcConnection.ChangeDatabase Method

Changes the current database associated with an open System.Data.Odbc.OdbcConnection.

Syntax

public override void ChangeDatabase (string value)

Parameters

value
The database name.

Remarks

The value parameter must contain a valid database name, and cannot contain a null value, an empty string (""), or a string with only blank characters.

Requirements

Namespace: System.Data.Odbc
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0