GetRelatedProducts Method (upgradeCode)

Microsoft Deployment Tools

Deployment Tools Foundation GetRelatedProducts Method (upgradeCode)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerProductInstallationGetRelatedProducts(String)
Gets the set of all products with a specified upgrade code. This method lists the currently installed and advertised products that have the specified UpgradeCode property in their Property table.
Declaration Syntax
C# Visual Basic Visual C++
public static IEnumerable<ProductInstallation> GetRelatedProducts(
	string upgradeCode
)
Public Shared Function GetRelatedProducts ( _
	upgradeCode As String _
) As IEnumerable(Of ProductInstallation)
public:
static IEnumerable<ProductInstallation^>^ GetRelatedProducts(
	String^ upgradeCode
)
Parameters
upgradeCode (String)
Upgrade code of related products
Return Value
Enumeration of product codes
Remarks

Win32 MSI API: MsiEnumRelatedProducts

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