Deployment Tools Foundation
GetFeatureState Method (feature)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ProductInstallation ► GetFeatureState(String)
Gets the installed state for a product feature.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public InstallState GetFeatureState( string feature )
Public Function GetFeatureState ( _ feature As String _ ) As InstallState
public: InstallState GetFeatureState( String^ feature )
Parameters
- feature (String)
- The feature being queried; identifier from the Feature table
Return Value
Remarks
Win32 MSI APIs: MsiQueryFeatureState, MsiQueryFeatureStateEx