IWsbApplicationRestoreSupport::OrderComponents method (wsbapp.h)
Specifies the order in which application components are to be restored.
Syntax
HRESULT OrderComponents(
[in] DWORD cComponents,
[in] LPWSTR *rgComponentName,
[in] LPWSTR *rgComponentLogicalPaths,
[out] LPWSTR **prgComponentName,
[out] LPWSTR **prgComponentLogicalPath
);
Parameters
[in] cComponents
The number of components to be restored. The value of this parameter can range from 0 to MAX_COMPONENTS.
[in] rgComponentName
An array of cComponents names of components to be restored.
[in] rgComponentLogicalPaths
An array of cComponents logical paths of components to be restored.
[out] prgComponentName
An array of cComponents names of components to be restored, in the order in which they are to be restored. This parameter receives NULL if no specific restore order is required.
[out] prgComponentLogicalPath
An array of cComponents logical paths of components to be restored, in the order in which they are to be restored. This parameter receives NULL if no specific restore order is required.
Return value
Returns S_OK if successful, or an error value otherwise. Possible return values include the following.
Remarks
Windows Server Backup calls this method before restoring components for an application.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows ServerĀ 2008 |
Target Platform | Windows |
Header | wsbapp.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for