Deployment Tools Foundation
State Property
Gets the installation state of this instance of the patch.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public PatchStates State { get; }
Public ReadOnly Property State As PatchStates Get
public: property PatchStates State { PatchStates get (); }
Property Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | An unknown patch was requested |
InstallerException | The installer configuration data is corrupt |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)