LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / DatabaseExists Method

On this page
    DatabaseExists Method
    On this page
    Returns true if an attempt to open the database by using the connection in the DataContext succeeds.
    Syntax
    'Declaration
     
    Public Function DatabaseExists() As Boolean
    public bool DatabaseExists()

    Return Value

    true if an attempt to open the database by using the connection in the DataContext succeeds; otherwise, false.
    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