sql server - File access using microsoft.sqlserver.smo.dll? -


i'm using c# application backup , restore dbs on remote server using microsoft.sqlserver.smo.dll.

testing local machine, can browse backup files select backup use. can done through code remote sql server using sql credentials similar way mssms it?

my backups saved naming convention (ie. "ebuy_full_2013_8_7_h13_m40.bak") , able show these in application decision backup file restore can made.

thanks,

rick

solved: based on comment question ran sql profiler determine functions mssms using, found using master.dbo.xp_dirtree, able duplicate in app.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -