API Reference
Enum
WindowsOptionalFeatureState
Indicates the installation state of a Windows optional feature as reported by WMI (Win32_OptionalFeature.InstallState).
Inheritance
- Enum
- WindowsOptionalFeatureState
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 WindowsOptionalFeatureState Unknown #The state of the feature could not be determined.
Value:
0public const WindowsOptionalFeatureState Disabled #The feature is disabled but present (not removed from the image).
Value:
2public const WindowsOptionalFeatureState Absent #The feature is absent/removed from the image.
Value:
3