Skip to content

Latest commit

 

History

History
166 lines (133 loc) · 4.16 KB

nf-certadm-iocspadmin-setconfiguration.md

File metadata and controls

166 lines (133 loc) · 4.16 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:certadm.IOCSPAdmin.SetConfiguration
IOCSPAdmin::SetConfiguration (certadm.h)
Updates a responder service with configuration changes.
IOCSPAdmin interface [Security]
SetConfiguration method
IOCSPAdmin.SetConfiguration
IOCSPAdmin::SetConfiguration
SetConfiguration
SetConfiguration method [Security]
SetConfiguration method [Security]
IOCSPAdmin interface
certadm/IOCSPAdmin::SetConfiguration
security.iocspadmin_setconfiguration_method
security\iocspadmin_setconfiguration_method.htm
security
973c69c3-282b-4e17-bb44-119965a4b443
12/05/2018
IOCSPAdmin interface [Security],SetConfiguration method, IOCSPAdmin.SetConfiguration, IOCSPAdmin::SetConfiguration, SetConfiguration, SetConfiguration method [Security], SetConfiguration method [Security],IOCSPAdmin interface, certadm/IOCSPAdmin::SetConfiguration, security.iocspadmin_setconfiguration_method
certadm.h
Certsrv.h
Windows
None supported
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
Certadm.idl
Certadm.lib
Certadm.dll
Windows
19H1
IOCSPAdmin::SetConfiguration
certadm/IOCSPAdmin::SetConfiguration
c++
APIRef
kbSyntax
COM
Certadm.dll
IOCSPAdmin.SetConfiguration

IOCSPAdmin::SetConfiguration

-description

The SetConfiguration method updates a responder service with configuration changes.

-parameters

-param bstrServerName [in]

A string that contains the responder-service name.

-param bForce [in]

C++ VARIANT_TRUE if the method should update the responder service registry when the service is offline or unavailable; otherwise, VARIANT_FALSE. If the service is offline or unavailable and the bForce parameter is VARIANT_TRUE, SetConfiguration updates the responder service registry directly.
VB True if the method should update the responder service registry when the service is offline or unavailable; otherwise, False. If the service is offline or unavailable and the bForce parameter is True, SetConfiguration updates the responder service registry directly.

-returns

VB

If the method succeeds, it 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.

-remarks

The following table lists the effects of the bForce parameter value on the method call.

OCSP responder service on the target server bForce is VARIANT_TRUE bForce is VARIANT_FALSE
Running Retrieve configuration from the service. Retrieve configuration from the service.
Stopped Attempt to retrieve configuration from the server registry. If this attempt fails, return an error. Return an error.
 

The following table lists the effects of the bForce parameter value on the method call.

OCSP responder service on the target server bForce is True bForce is False
Running Retrieve configuration from the service. Retrieve configuration from the service.
Stopped Attempt to retrieve configuration from the server registry. If this attempt fails, return an error. Return an error.

-see-also

IOCSPAdmin