GetProductProperty Method (property)

Microsoft Deployment Tools

Deployment Tools Foundation GetProductProperty Method (property)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSessionGetProductProperty(String)
Retrieves product properties (not session properties) from the product database.
Declaration Syntax
C# Visual Basic Visual C++
public string GetProductProperty(
	string property
)
Public Function GetProductProperty ( _
	property As String _
) As String
public:
String^ GetProductProperty(
	String^ property
)
Parameters
property (String)
Return Value
Value of the property, or an empty string if the property is not set.
Remarks

Note this is not the correct method for getting ordinary session properties. For that, see the indexer on the Session class.

Win32 MSI API: MsiGetProductProperty

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