State Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation State Property
Gets the installation state of this instance of the patch.
Declaration Syntax
C# Visual Basic Visual C++ F#
public PatchStates State { get; }
Public ReadOnly Property State As PatchStates
	Get
public:
property PatchStates State {
	PatchStates get ();
}
member State : PatchStates with 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.11.1.2318)