ICertRegManagerDSetConfigEntry 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.Dcom
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax void SetConfigEntry(
Object data,
string entryName,
string node = null
)
Sub SetConfigEntry (
data As Object,
entryName As String,
Optional node As String = Nothing
)
void SetConfigEntry(
Object^ data,
String^ entryName,
String^ node = nullptr
)
abstract 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.
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