Deployment Tools Foundation
GetProductProperty Method (property)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► GetProductProperty(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
String
Value of the property, or an empty string if the property is not set.
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.dll) Version: 3.0.0.0 (3.9.1006.0)