dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteConnection Class / BackupDatabase Method / BackupDatabase(SQLiteConnection,String,String,Int32) Method
The connection to copy the current database to.
The destination database name.
The source database name.
The time (in seconds) to wait for the backup command to execute.

In This Topic
    BackupDatabase(SQLiteConnection,String,String,Int32) Method
    In This Topic
    Backups (copies) the database to the specified target connection via the SQLite Online Backup API.
    Syntax
    'Declaration
     
    Public Overloads Sub BackupDatabase( _
       ByVal destination As SQLiteConnection, _
       ByVal destinationName As String, _
       ByVal sourceName As String, _
       ByVal backupTimeOut As Integer _
    ) 
    public void BackupDatabase( 
       SQLiteConnection destination,
       string destinationName,
       string sourceName,
       int backupTimeOut
    )

    Parameters

    destination
    The connection to copy the current database to.
    destinationName
    The destination database name.
    sourceName
    The source database name.
    backupTimeOut
    The time (in seconds) to wait for the backup command to execute.
    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