Using Smo.Backup to backup SQL Server database to string
问题 I'm trying to make a little app that would help me making my server backup. That app would run on my home PC so the main goal is to be able to connect to the external server, backup the selected database, dump the backup content to a string or something so I could write it on my PC disk and not the server's disk. I did that which works to write on the server's disk, but I'd like to be able to write on my PC's disk the backup's result. private bool BackupDatabase() { try { // Filename string