GetFeatureState Method (feature)

Microsoft Deployment Tools

Deployment Tools Foundation GetFeatureState Method (feature)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerProductInstallationGetFeatureState(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
Installation state of the feature for the product instance: either Local, Source, or Advertised.
Remarks

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)