PatchInstallation Constructor (patchCode, productCode)

Microsoft Deployment Tools

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) Version: 3.0.0.0 (3.5.1623.0)