ICertManageModuleSetProperty Method

The SetProperty method allows a module to set a property value.

Definition

Namespace: ADCS.CertMod.Managed
Assembly: ADCS.CertMod.Managed (in ADCS.CertMod.Managed.dll) Version: 1.2.0.0 (1.2.0.0)
C#
void SetProperty(
	string strConfig,
	string strStorageLocation,
	string strPropertyName,
	int Flags,
	in Object pvarProperty
)

Parameters

strConfig  String
Represents the configuration string for the Certificate Services server in the form COMPUTERNAME\CANAME, where COMPUTERNAME is the Certificate Services server's network name, and CANAME is the common name of the certification authority (CA) as entered for the CA during Certificate Services setup.
strStorageLocation  String
A registry key that denotes the storage location in the HKEY_LOCAL_MACHINE hive for the property values.
strPropertyName  String
The name of the property being assigned. Policy and exit modules should support the following properties.
  • Name - Name of the module.
  • Description - Description of the module.
  • Copyright - Copyright pertaining to the module.
  • File Version - Version of the module file.
  • Product Version - Version of the module.
Flags  Int32
This parameter is reserved and must be set to zero.
pvarProperty  Object
A value associated with the property being assigned.

See Also