API Reference
Class
AdmxProviderSourceCatalogService
Loads and validates data-driven ADMX provider source catalogs.
Inheritance
- Object
- AdmxProviderSourceCatalogService
Methods
public static AdmxProviderSourceCatalog Load(String catalogPath) #Returns:
AdmxProviderSourceCatalogLoads a JSON ADMX provider source catalog from disk.
Parameters
- catalogPath System.String
- Path to the provider source catalog JSON file.
Returns
Deserialized provider source catalog.
public static AdmxProviderMaintenanceOptions LoadOptions(String catalogPath, String cacheRoot = null, String destinationRoot = null, String language = null, Boolean refreshCache = true, IReadOnlyCollection<String> sourceIds = null) #Returns:
AdmxProviderMaintenanceOptionsLoads a provider source catalog and converts executable sources into maintenance options.
Parameters
- catalogPath System.String
- Path to the provider source catalog JSON file.
- cacheRoot System.String = null
- Optional provider cache root override.
- destinationRoot System.String = null
- Optional Central Store or PolicyDefinitions comparison destination.
- language System.String = null
- Preferred ADML language.
- refreshCache System.Boolean = true
- Whether provider caches should be refreshed before comparison.
- sourceIds System.Collections.Generic.IReadOnlyCollection{System.String} = null
- Optional provider source ids to include from the catalog.
Returns
Maintenance options built from enabled executable catalog sources.
public static AdmxProviderSourceCatalogValidationResult Validate(AdmxProviderSourceCatalog catalog) #Returns:
AdmxProviderSourceCatalogValidationResultValidates a provider source catalog and returns catalog-level issues.
Parameters
- catalog ADPlayground.Gpo.GpoLocal.AdmxProviderSourceCatalog
- Catalog to validate.
Returns
Validation result with issue details.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object