API Reference
Class
TimeServicePolicyReader
Reads selected Windows Time Service policy values from a .pol file.
Inheritance
- Object
- TimeServicePolicyReader
Methods
public static TimeServicePolicyInfo FromPol(PolFile pol, String domainName, Guid gpoId) #Returns:
TimeServicePolicyInfoExtracts time service policy settings from a .pol file.
Parameters
- pol ADPlayground.Gpo.GpoLocal.PolFile
- The parsed policy file.
- domainName System.String
- Domain associated with the GPO.
- gpoId System.Guid
- Identifier of the GPO.
Returns
Structured policy information, or null when no relevant settings exist.