This enumeration is used by a writer at backup time to specify through its Writer Metadata Document the default file restore method to be used with all the files in all the components it manages.
public enum VssRestoreMethod
This value indicates that a custom restore method will be used to restore the files managed by the selected component or component set.
A requester will restore the files of a selected component or component set following a reboot of the system.
Files to be restored should be copied to a temporary location, and the requester should use
If possible, a requester will restore the files of a selected component or component set to their correct location immediately.
A requester will restore files of a selected component or component set only if there are no versions of those files currently on the disk that cannot be overwritten.
A requester will restore files of a selected component or component set only if there are no versions of those files currently on the disk.
The requester should perform the restore operation as follows:
The service to be stopped is specified by the writer beforehand when it calls the IVssCreateWriterMetadata::SetRestoreMethod method. The requester can obtain the name of the service by examining the RestoreMethod property.
A requester must restore the files of a selected component or component set to the location specified by the alternate location mapping specified in the writer component metadata file.
This value is used by a writer to indicates that a given service must be stopped prior to the start of the restore. After the restore operation, the service will be restarted.
No restore method is defined.
This indicates an error on the part of the writer.