VistaDB 6
VistaDB.Provider Namespace / VistaDBConnection Class / Database Property


In This Topic
    Database Property (VistaDBConnection)
    In This Topic
    Gets the name of the current database after a connection is opened, or the database name specified in the connection string before the connection is opened. Get the name of the database.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable ReadOnly Property Database As System.String
    'Usage
     
    
    Dim instance As VistaDBConnection
    Dim value As System.String
     
    value = instance.Database
    public override System.string Database {get;}

    Property Value

    The name of the current database or the name of the database to be used after a connection is opened. The default value is an empty string.
    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