DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.DataConnector.AdoNet Namespace / DbConnectionWrap<TInnerConnection,TInnerCommand,TInnerParameter> Class / ChangeDatabase Method
Specifies the name of the database for the connection to use.

In This Topic
    ChangeDatabase Method (DbConnectionWrap<TInnerConnection,TInnerCommand,TInnerParameter>)
    In This Topic
    Changes the current database for an open connection.
    Syntax
    'Declaration
     
    Public Overrides Sub ChangeDatabase( _
       ByVal databaseName As String _
    ) 
    public override void ChangeDatabase( 
       string databaseName
    )

    Parameters

    databaseName
    Specifies the name of the database for the connection to use.
    See Also