VistaDB 6
VistaDB.Entity Namespace / VistaDBProviderServices Class / DbDeleteDatabase Method
Connection to an existing database that needs to be deleted.
Execution timeout for any commands needed to delete the database.
The collection of all store items from the model. This parameter is no longer used for database deletion.


In This Topic
    DbDeleteDatabase Method
    In This Topic
    Deletes the specified database.
    Syntax
    'Declaration
     
    
    Protected Sub DbDeleteDatabase( _
       ByVal connection As System.Data.Common.DbConnection, _
       ByVal commandTimeout As System.Nullable(Of Integer), _
       ByVal storeItemCollection As System.Data.Entity.Core.Metadata.Edm.StoreItemCollection _
    ) 
    'Usage
     
    
    Dim instance As VistaDBProviderServices
    Dim connection As System.Data.Common.DbConnection
    Dim commandTimeout As System.Nullable(Of Integer)
    Dim storeItemCollection As System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
     
    instance.DbDeleteDatabase(connection, commandTimeout, storeItemCollection)
    protected void DbDeleteDatabase( 
       System.Data.Common.DbConnection connection,
       System.Nullable<int> commandTimeout,
       System.Data.Entity.Core.Metadata.Edm.StoreItemCollection storeItemCollection
    )

    Parameters

    connection
    Connection to an existing database that needs to be deleted.
    commandTimeout
    Execution timeout for any commands needed to delete the database.
    storeItemCollection
    The collection of all store items from the model. This parameter is no longer used for database deletion.
    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