Class WindowsUpdateHistory
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the Windows Update history of a Windows machine.
public class WindowsUpdateHistory : BypassSection
- Inheritance
-
WindowsUpdateHistory
- Inherited Members
Constructors
WindowsUpdateHistory()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsUpdateHistory class.
public WindowsUpdateHistory()
Properties
Items
Gets or sets the items in the collection.
public WindowsUpdateHistoryItemCollection Items { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.WindowsUpdateHistory class from the specified XML.
public static WindowsUpdateHistory FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- WindowsUpdateHistory
A CENTREL.XIA.Configuration.Types.WindowsUpdateHistory class.
GetMostRecent(int)
Gets the most recently Windows Update history items.
public WindowsUpdateHistoryItemCollection GetMostRecent(int maximumResults)
Parameters
maximumResults
intThe maximum number of results to return.
Returns
- WindowsUpdateHistoryItemCollection
The most recent Windows Update history items.
ToString()
Returns the CENTREL.XIA.Configuration.Types.WindowsUpdateHistory as a human readable string.
public override string ToString()
Returns
- string
The CENTREL.XIA.Configuration.Types.WindowsUpdateHistory as a human readable string.