IWsbApplicationRestoreSupport::PostRestore method

Performs application-specific PostRestore operations.

Syntax

HRESULT PostRestore(
  LPWSTR  wszWriterMetadata,
  LPWSTR  wszComponentName,
  LPWSTR  wszComponentLogicalPath,
  BOOLEAN bNoRollForward
);

Parameters

wszWriterMetadata

A string that contains the VSS writer's metadata.

wszComponentName

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

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.

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

   
Windows version None supported Windows Server 2008
Target Platform Windows
Header wsbapp.h

See Also

IWsbApplicationRestoreSupport