

Deployment Tools Foundation
State Property
Gets the installation state of this instance of the patch.

C# | Visual Basic | Visual C++ |
public PatchStates State { get; }
Public ReadOnly Property State As PatchStates Get
public: property PatchStates State { PatchStates get (); }


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)