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 MTS.

Syntax

HRESULT STDMETHODCALLTYPE AppRecover( 
  LPCWSTR szMDPath,  // [string][unique][in] 
  BOOL fRecursive    // [in] 
); 
 

Parameters

szMDPath
Specifies the metabase path to the starting point of the application.
fRecursive
Specifies whether applications are also to be recovered for all subordinate keys (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 HRESULT will be returned.