API Reference
Class
PolicyProcessingWriter
Writes policy states into an IPolicySource using ADMX semantics similar to PolicyPlus PolicyProcessing.SetPolicyState.
Inheritance
- Object
- PolicyProcessingWriter
Methods
public static Void SetPolicyState(IPolicySource source, PolicyDefinition policy, PolicyState state, IDictionary<String, Object> options) #Returns:
VoidApplies a policy state with optional element options to a policy source using ADMX semantics.
Parameters
- source ADPlayground.Gpo.GpoLocal.IPolicySource
- Target policy source (registry or LGPO).
- policy ADPlayground.Gpo.GpoLocal.PolicyDefinition
- Policy definition.
- state ADPlayground.Gpo.GpoLocal.PolicyState
- Desired policy state.
- options System.Collections.Generic.IDictionary{System.String,System.Object}
- Optional element values (by element id) used when state is Enabled.