This project is read-only.

Listing all Shadow copies on system

Mar 26, 2009 at 9:11 AM

i must say i love alphavss, cause otherwise i had to write the wrappers and im not that good in C++, so thank you

but my problem is that i am unable to list all copies on my system.
i would like to print the copies on my console but im unable to find the right methods...
does anyone know how to do this?

thank you,
Mar 29, 2009 at 1:18 PM
Something like the following should work:

      static void Main(string[] args)
         IVssImplementation vssImplementation = VssUtils.LoadImplementation();

         using (IVssBackupComponents vss = vssImplementation.CreateVssBackupComponents())

            // Note that this SetContext call may not be used on Windows XP

            foreach (VssSnapshotProperties props in vss.QuerySnapshots())
Mar 31, 2009 at 7:03 AM
Edited Mar 31, 2009 at 8:16 AM
yes it did
thanx, you really helped me out here

i owe you one m8