|
static object | GetPolicySetting (RegistryKey rootRegistryKey, string key, string valueName) |
|
static void | SetPolicySetting (RegistryKey rootRegistryKey, string key, string valueName, object settingValue, RegistryValueKind registryValueKind) |
| Set a policy setting More...
|
|
◆ GetPolicySetting()
static object LibEditLGPO.RegistryKeyHelper.GetPolicySetting |
( |
RegistryKey |
rootRegistryKey, |
|
|
string |
key, |
|
|
string |
valueName |
|
) |
| |
|
static |
◆ SetPolicySetting()
static void LibEditLGPO.RegistryKeyHelper.SetPolicySetting |
( |
RegistryKey |
rootRegistryKey, |
|
|
string |
key, |
|
|
string |
valueName, |
|
|
object |
settingValue, |
|
|
RegistryValueKind |
registryValueKind |
|
) |
| |
|
static |
Set a policy setting
- Parameters
-
rootRegistryKey | Obtained by ComputerGroupPolicyObject.GetRootRegistryKey |
key | e.g. SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU |
valueName | e.g. AlwaysAutoRebootAtScheduledTime |
settingValue | null will erase registry value. (e.g. 1) |
registryValueKind | e.g. DWord |
The documentation for this class was generated from the following file: