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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -