API Reference
Class
AdmxLookupService
Helper lookups for ADMX policy definitions by display name or name, using indexes on AdmxDocument. Keeps consumers from re-implementing matching or scanning the full list.
Inheritance
- Object
- AdmxLookupService
Methods
public static IReadOnlyList<PolicyDefinition> FindByDisplayName(AdmxDocument doc, String displayNameOrName) #Returns:
IReadOnlyList<PolicyDefinition>Finds policy definitions by localized display name (case-insensitive), falling back to Name when needed.
Parameters
- doc ADPlayground.Gpo.GpoLocal.AdmxDocument
- Compiled ADMX document.
- displayNameOrName System.String
- Localized display name or technical Name.
Returns
List of matching policy definitions, possibly empty when not found.