UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:vswriter.IVssComponent.SetRestoreTarget |
IVssComponent::SetRestoreTarget (vswriter.h) |
The SetRestoreTarget method sets the restore target (in terms of the VSS_RESTORE_TARGET enumeration) for the current component. |
|
base\ivsscomponent_setrestoretarget.htm |
base |
6e8b9322-6611-4a47-aa7a-876be01d33b8 |
12/05/2018 |
IVssComponent interface [VSS],SetRestoreTarget method, IVssComponent.SetRestoreTarget, IVssComponent::SetRestoreTarget, SetRestoreTarget, SetRestoreTarget method [VSS], SetRestoreTarget method [VSS],IVssComponent interface, _win32_ivsscomponent_setrestoretarget, base.ivsscomponent_setrestoretarget, vswriter/IVssComponent::SetRestoreTarget |
vswriter.h |
Vss.h, VsWriter.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
VssApi.lib |
Windows |
19H1 |
|
|
|
|
|
|
The SetRestoreTarget method sets the restore target (in terms of the VSS_RESTORE_TARGET enumeration) for the current component.
Only a writer can call this method, and only during a restore operation.
A value from VSS_RESTORE_TARGET containing the restore target information.
The following are the valid return codes for this method.
Value | Meaning |
---|---|
|
Successfully set the item. |
|
One of the parameter values is not valid. |
|
The caller is out of memory or other system resources. |
|
The caller is not in the correct state (either backup or restore) for the operation. |
The restore target set by SetRestoreTarget applies to all files in the component and any nonselectable subcomponents.