IWsbApplicationRestoreSupport::PostRestore method (wsbapp.h)

Performs application-specific PostRestore operations.

Syntax

HRESULT PostRestore(
  [in, optional] LPWSTR  wszWriterMetadata,
  [in, optional] LPWSTR  wszComponentName,
  [in, optional] LPWSTR  wszComponentLogicalPath,
  [in]           BOOLEAN bNoRollForward
);

Parameters

[in, optional] wszWriterMetadata

A string that contains the VSS writer's metadata.

[in, optional] wszComponentName

The name of the component or component set. This should match the name in the metadata that the wszWriterMetadata parameter points to.

[in, optional] wszComponentLogicalPath

The logical path of the component or component set. This should match the logical path in the metadata that the wszWriterMetadata parameter points to.

[in] bNoRollForward

Set to TRUE if a previous point-in-time recovery operation is in progress and no application rollforward should be performed. The previous logs for the application will be deleted before the application restore operation is performed.

Return value

Returns S_OK if successful, or an error value otherwise. Possible return values include the following.

Remarks

During application restore, Windows Server Backup calls this method after restoring the files for each application component.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header wsbapp.h

See also

IWsbApplicationRestoreSupport