ICertSrvSetup::SetCASetupProperty method (casetup.h)

The SetCASetupProperty method sets a property value for a certification authority (CA) configuration.

Syntax

HRESULT SetCASetupProperty(
  [in] CASetupProperty propertyId,
  [in] VARIANT         *pPropertyValue
);

Parameters

[in] propertyId

A CASetupProperty constant that specifies the type of property to configure.

The following properties are set as a side effect of other methods and cannot be set directly with this method.

ENUM_SETUPPROP_CANAME ENUM_SETUPPROP_CADSSUFFIX ENUM_SETUPPROP_EXPIRATIONDATE ENUM_SETUPPROP_PARENTCANAME ENUM_SETUPPROP_PARENTCAMACHINE ENUM_SETUPPROP_DATABASEDIRECTORY ENUM_SETUPPROP_LOGDIRECTORY ENUM_SETUPPROP_SHAREDFOLDER ENUM_SETUPPROP_WEBCAMACHINE ENUM_SETUPPROP_WEBCANAME

[in] pPropertyValue

A pointer to a VARIANT that specifies the property value. The VARIANT type depends on the property type. For more information about the VARIANT type, see CASetupProperty.

Return value

None

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

See also

ICertSrvSetup