LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / DeleteDatabase Method / DeleteDatabase() Method

In This Topic
    DeleteDatabase() Method
    In This Topic
    Creates and executes script that deletes database tables with their constraints, indexes, and foreign keys.
    Syntax
    'Declaration
     
    Public Overloads Sub DeleteDatabase() 
    public void DeleteDatabase()
    Remarks

    The database or schema itself is not deleted. The name of the database is derived from the connection.

    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