PatchInstallation Class

Microsoft Deployment Tools

Deployment Tools Foundation PatchInstallation Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerPatchInstallation
The Patch object represents a unique instance of a patch that has been registered or applied.
Declaration Syntax
C# Visual Basic Visual C++
public class PatchInstallation : Installation
Public Class PatchInstallation _
	Inherits Installation
public ref class PatchInstallation : public Installation
Members
All Members Constructors Methods Properties



Icon Member Description
PatchInstallation(String, String)
Creates a new object for accessing information about a patch installation on the current system.

PatchInstallation(String, String, String, UserContexts)
Creates a new object for accessing information about a patch installation on the current system.

AllPatches
Enumerates all patch installations on the system.

Context
Gets the user context of this product or patch installation.
(Inherited from Installation.)
DisplayName
Get the registered display name for the patch.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetPatches(String, String, String, UserContexts, PatchStates)
Enumerates patch installations based on certain criteria.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InstallDate
Gets the date and time when the patch is applied to the product.

IsInstalled
Gets a value indicating whether this patch is currently installed.
(Overrides Installation.IsInstalled.)
IsObsoleted
Gets a value indicating whether this patch is marked as obsolte.

IsSuperseded
Gets a value indicating whether this patch is present but has been superseded by a more recent installed patch.

Item[([(String])])
Gets information about a specific patch installation.
(Overrides Installation.Item[([(String])]).)
LocalPackage
Gets the cached patch file that the product uses.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MoreInfoUrl
Gets the registered support information URL for the patch.

PatchCode
Gets the patch code (GUID) of the patch.

ProductCode
Gets the ProductCode (GUID) of the product.

SourceList
Gets the source list of this product or patch installation.
(Inherited from Installation.)
State
Gets the installation state of this instance of the patch.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Transforms
Gets the set of patch transforms that the last patch installation applied to the product.

Uninstallable
True patch is marked as possible to uninstall from the product.

UserSid
Gets the user security identifier (SID) under which this product or patch installation is available.
(Inherited from Installation.)
Inheritance Hierarchy
Object
Installation
  PatchInstallation

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)