PatchInstallation Constructor (patchCode, productCode)

Microsoft Deployment Compression & Installer

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++
public PatchInstallation(
	string patchCode,
	string productCode
)
Public Sub New ( 
	patchCode As String,
	productCode As String
)
public:
PatchInstallation(
	String^ patchCode, 
	String^ productCode
)
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.9.1006.0)