ICertSrvSetup::PreUnInstall method (casetup.h)
The PreUnInstall method temporarily saves role-specific state information and then it uninstalls the role.
Syntax
HRESULT PreUnInstall(
[in] VARIANT_BOOL bClientOnly
);
Parameters
[in] bClientOnly
A value that indicates whether the caller wants to only uninstall the Certification Authority Web Enrollment role. A value of VARIANT_TRUE specifies to only uninstall the Certification Authority Web Enrollment role. This only applies if both the Certification Authority and Certification Authority Web Enrollment roles are installed on the computer.
Return value
None
Remarks
The PreUnInstall method should be called before performing a role-specific uninstall.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | casetup.h |
DLL | Certocm.dll |