API Reference
Enum
PowerShellCatalogMode
Controls how compiled PowerShell rule catalogs are used by the hosts.
Inheritance
- Enum
- PowerShellCatalogMode
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const PowerShellCatalogMode Legacy #Do not use the compiled catalog; rely on legacy script extraction/runtime parsing.
Value:
0public const PowerShellCatalogMode Auto #Use the compiled catalog when available; otherwise fall back to legacy behavior (default).
Value:
1public const PowerShellCatalogMode CompiledOnly #Require the compiled catalog. If it is missing, rule discovery fails.
Value:
2