GetTargetProductCodes Method

Microsoft Deployment Tools

Deployment Tools Foundation GetTargetProductCodes Method
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackagePatchPackageGetTargetProductCodes()()()
Gets the list of product codes of products targeted by this patch package.
Declaration Syntax
C# Visual Basic Visual C++
public string[] GetTargetProductCodes()
Public Function GetTargetProductCodes As String()
public:
array<String^>^ GetTargetProductCodes()
Return Value
Array of product codes (GUIDs)
Remarks
The list of target product codes is stored in the Template field of the patch summary information.

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