GetTargetProductCodes Method

DTF API

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++ F#
public string[] GetTargetProductCodes()
Public Function GetTargetProductCodes As String()
public:
array<String^>^ GetTargetProductCodes()
member GetTargetProductCodes : unit -> string[] 
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.11.1.2318)