API Reference
Class
AdmxExplorerExportStore
Persists AdmxExplorerExport documents as JSON files for static website or artifact scenarios.
Inheritance
- Object
- AdmxExplorerExportStore
Methods
Save 2 overloads
public static String Save(String path, String admxDirectory = null, String domainName = null, String language = null, Boolean indented = true, IReadOnlyList<AdmxExplorerSourcePackageMetadata> sourcePackageMetadata = null) #Returns:
StringBuilds an explorer export and writes it to disk as UTF-8 JSON without BOM.
Parameters
- path System.String
- Destination JSON path.
- admxDirectory System.String = null
- Optional explicit PolicyDefinitions directory.
- domainName System.String = null
- Optional domain name used for Central Store discovery.
- language System.String = null
- Preferred ADML language.
- indented System.Boolean = true
- When set, the JSON is formatted for readability.
- sourcePackageMetadata System.Collections.Generic.IReadOnlyList{ADPlayground.Gpo.GpoLocal.AdmxExplorerSourcePackageMetadata} = null
- Optional package-level metadata used by split bundle exports.
Returns
Normalized output path.
public static String Save(String path, AdmxExplorerExport export, Boolean indented = true) #Returns:
StringWrites an existing explorer export document to disk as UTF-8 JSON without BOM.
Parameters
- path System.String
- Destination JSON path.
- export ADPlayground.Gpo.GpoLocal.AdmxExplorerExport
- Typed export document.
- indented System.Boolean = true
- When set, the JSON is formatted for readability.
Returns
Normalized output path.
SaveBundle 2 overloads
public static String SaveBundle(String directoryPath, String admxDirectory = null, String domainName = null, String language = null, Boolean indented = true, AdmxExplorerBundleMode bundleMode = Website, IReadOnlyList<AdmxExplorerSourcePackageMetadata> sourcePackageMetadata = null) #Returns:
StringBuilds an explorer export and writes a split bundle composed of a manifest plus source-specific payload files.
Parameters
- directoryPath System.String
- Destination bundle directory.
- admxDirectory System.String = null
- Optional explicit PolicyDefinitions directory.
- domainName System.String = null
- Optional domain name used for Central Store discovery.
- language System.String = null
- Preferred ADML language.
- indented System.Boolean = true
- When set, the JSON is formatted for readability.
- bundleMode ADPlayground.Gpo.GpoLocal.AdmxExplorerBundleMode = Website
- Payload shaping mode for split source files.
- sourcePackageMetadata System.Collections.Generic.IReadOnlyList{ADPlayground.Gpo.GpoLocal.AdmxExplorerSourcePackageMetadata} = null
- Optional package-level metadata used to label package source groups.
Returns
Normalized manifest path.
public static String SaveBundle(String directoryPath, AdmxExplorerExport export, Boolean indented = true, AdmxExplorerBundleMode bundleMode = Website) #Returns:
StringWrites a split bundle composed of a manifest plus source-specific payload files.
Parameters
- directoryPath System.String
- Destination bundle directory.
- export ADPlayground.Gpo.GpoLocal.AdmxExplorerExport
- Typed export document.
- indented System.Boolean = true
- When set, the JSON is formatted for readability.
- bundleMode ADPlayground.Gpo.GpoLocal.AdmxExplorerBundleMode = Website
- Payload shaping mode for split source files.
Returns
Normalized manifest path.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object