dotConnect for SQL Server Documentation
Devart.Common Namespace / DbDump Class / BackupQuery Method / BackupQuery(String,TextWriter) Method
The query, returning data for backup.
The System.IO.TextWriter to write the script to.

In This Topic
    BackupQuery(String,TextWriter) Method
    In This Topic
    Generates a script with a backup of the data, returned by the specified query, and writes it to the specified System.IO.TextWriter.
    Syntax
    'Declaration
     
    Public Overloads Sub BackupQuery( _
       ByVal query As String, _
       ByVal writer As TextWriter _
    ) 
    public void BackupQuery( 
       string query,
       TextWriter writer
    )

    Parameters

    query
    The query, returning data for backup.
    writer
    The System.IO.TextWriter to write the script to.
    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