Click or drag to resize
VssRestoreTarget Enumeration

The VssRestoreTarget enumeration is used by a writer at restore time to indicate how all the files included in a selected component, and all the files in any component set it defines, are to be restored.

Setting a restore target modifies or overrides the restore method set during backup (see VssRestoreMethod).

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: (
public enum VssRestoreTarget
  Member nameValueDescription

No target is defined.

This value indicates an error on the part of the writer.


This is the default restore target.

This value indicates that the restoration of the files included in a selected component (or the component set defined by that component) should proceed according to the original restore method specified at backup time by a VssRestoreMethod value.


The files are restored to a location determined from an existing alternate location mapping.

The restore target should be set to Alternate only when alternate location mappings have been set for all the files managed by a selected component or component set.


Use directed targeting by the writer at restore time to restore a file.

Directed targeting allows a writer to control, on a file-by-file basis, how a file is restored—indicating how much of a file is to be restored and into which files the backed-up file is to be restored.


The files are restored to the location at which they were at backup time, even if the original restore method that was specified at backup time was RestoreToAlternateLocation.

Windows Server 2003 and Windows XP: This value is not supported.

For more information see the MSDN documentation on the VSS_RESTORE_TARGET enumeration.
See Also