Parameters
- query
- The query, returning data for backup.
BeginBackupQuery(String) method enables you to perform a query backup operation without having current thread blocked. In other words, your program can continue execution while the backup runs in background so you do not have to wait for it.
To start the query backup operation, you have to call BeginBackupQuery(String) method, which in turn invokes appropriate actions in another thread. Return value of this method must be assigned to an System.IAsyncResult object. After executing this method, the program flow continues.
When you are ready to finish the query backup operation, call EndBackupQuery. If at the moment you call this function the query backup has not yet been finished, application stops and waits till the function returns.