PatchInstallation Constructor (patchCode, productCode)

DTF API

Copy image CopyHover image
Deployment Tools Foundation PatchInstallation Constructor (patchCode, productCode)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerPatchInstallationPatchInstallation(String, String)
Creates a new object for accessing information about a patch installation on the current system.
Declaration Syntax
C# Visual Basic Visual C++ F#
public PatchInstallation(
	string patchCode,
	string productCode
)
Public Sub New ( 
	patchCode As String,
	productCode As String
)
public:
PatchInstallation(
	String^ patchCode, 
	String^ productCode
)
new : 
        patchCode : string * 
        productCode : string -> PatchInstallation
Parameters
patchCode (String)
Patch code (GUID) of the patch.
productCode (String)
ProductCode (GUID) the patch has been applied to. This parameter may be null for patches that are registered only and not yet applied to any product.
Remarks

All available user contexts will be queried.

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