GetTargetProductCodes Method

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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<String>[]()[][]
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.dll) Version: 3.0.0.0 (3.9.1006.0)