dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnection Class / ChangeDatabase Method
The name of a current database.

In This Topic
    ChangeDatabase Method (SqlConnection)
    In This Topic
    Changes the current database.
    Syntax
    'Declaration
     
    Public Overrides Sub ChangeDatabase( _
       ByVal databaseName As String _
    ) 
    public override void ChangeDatabase( 
       string databaseName
    )

    Parameters

    databaseName
    The name of a current database.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also