views:

10

answers:

0

my only problem is that Im trying to save the data i get from the MS SQL when I call the backup function using Pipe ! I dont want to save it as File , I can use VirtualDevice too , but i found NOTHING about both of them online ! some say that Pipe is not used anymore , any suggestions ? or alternatives ?

I dont want to use this code: BackupDeviceItem bkpDevice = new BackupDeviceItem("Test1.bak", DeviceType.File);

I want to use this code: BackupDeviceItem bkpDevice = new BackupDeviceItem("Test1.bak", DeviceType.Pipe);

but then what ? how to start getting the stream of data through that pipe .

thank you