ClientProducts Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation ClientProducts Property
Gets all client products of a specified component.
Declaration Syntax
C# Visual Basic Visual C++ F#
public IEnumerable<ProductInstallation> ClientProducts { get; }
Public ReadOnly Property ClientProducts As IEnumerable(Of ProductInstallation)
	Get
public:
property IEnumerable<ProductInstallation^>^ ClientProducts {
	IEnumerable<ProductInstallation^>^ get ();
}
member ClientProducts : IEnumerable<ProductInstallation> with get
Return Value
IEnumerable<(Of <(<'ProductInstallation>)>)>
enumeration over all client products of the component
Remarks

Because clients are not ordered, any new component has an arbitrary index. This means that the property may return clients in any order.

Win32 MSI API: MsiEnumClients, MsiEnumClientsEx

Exceptions
Exception Condition
InstallerException The installer configuration data is corrupt

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