IWamAdmin::AppRecover

The IWamAdmin::AppRecover method reinstates a Web application definition that was previously deleted with the IWamAdmin::AppDeleteRecoverable method. If the application specified was not previously deleted, it will be reregistered with Component Services.

Syntax

HRESULT STDMETHODCALLTYPE AppRecover(

  LPCWSTR szMDPath,

  BOOL fRecursive

);

 

Parameters
szMDPath
[string][unique][in]  Specifies the metabase path to the starting point of the application.
fRecursive
[in]  Specifies whether applications are also to be recovered for all subkeys (TRUE), or just the application at this key (FALSE).
Return Values

The method will return NO_ERROR if the method succeeded, including the case that no application was defined at the specified path. If the method fails, other error codes converted to an HRESULT will be returned.