ICertConfig2::SetSharedFolder method (certcli.h)

The SetSharedFolder method specifies the path to be used as the certification authority's (CA) shared folder. This method was first defined in the ICertConfig interface.


HRESULT SetSharedFolder(
  [in] const BSTR strSharedFolder


[in] strSharedFolder

String value that specifies the path of the new shared folder directory.

Return value


If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.


Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certcli.h (include Certsrv.h)
Library Certidl.lib
DLL Certcli.dll