DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.AdoNet.D365S Namespace / C1D365SConnection Class / ChangeDatabase Method
Specifies the name of the database for the connection to use.

In This Topic
    ChangeDatabase Method (C1D365SConnection)
    In This Topic
    Changes the current database for an open connection.
    Syntax
    'Declaration
     
    Public Sub ChangeDatabase( _
       ByVal databaseName As String _
    ) 
    public void ChangeDatabase( 
       string databaseName
    )

    Parameters

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