CertSrvRegManagerSetConfigEntry Method |
Writes value to Certification Authority configuration. If value does not exist it will be created. Created registry value type
is inferred from data parameter.
Namespace:
SysadminsLV.PKI.Management.CertificateServices
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public void SetConfigEntry(
Object data,
string entryName,
string node = null
)
Public Sub SetConfigEntry (
data As Object,
entryName As String,
Optional node As String = Nothing
)
public:
virtual void SetConfigEntry(
Object^ data,
String^ entryName,
String^ node = nullptr
) sealed
abstract SetConfigEntry :
data : Object *
entryName : string *
?node : string
(* Defaults:
let _node = defaultArg node null
*)
-> unit
override SetConfigEntry :
data : Object *
entryName : string *
?node : string
(* Defaults:
let _node = defaultArg node null
*)
-> unit
Parameters
- data
- Type: SystemObject
Configuration value name to write. - entryName
- Type: SystemString
Configuration value name to write to. - node (Optional)
- Type: SystemString
Configuration node path under Configuration node. Optional.
Implements
ICertRegManagerDSetConfigEntry(Object, String, String)Exceptions Exception | Condition |
---|
ArgumentNullException | data or entryName parameter is null.
|
ArgumentException | entryName parameter is empty string, or data type for data parameter is not accepted.
See remarks section for valid types.
|
Remarks
Valid types for
data parameter are:
- String
- String[]
- Int32
- Boolean
- Byte[]
See Also