GetFeatureState Method (feature)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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
InstallState
Installation state of the feature for the product instance: either Local, Source, or Advertised.
Remarks

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)