API Reference
WindowsUpdateOperationResult
Represents the outcome of a reusable Windows Update download, install, or uninstall action.
Inheritance
- Object
- WindowsUpdateOperationResult
Constructors
public WindowsUpdateOperationResult() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String ComputerName { get; set; } #Computer name used for the operation.
public WindowsUpdateOperationType OperationType { get; set; } #Requested WUA action.
public Boolean DryRun { get; set; } #Indicates whether the action ran in preview mode without mutating the system.
public String SearchCriteria { get; set; } #Effective search criteria used to select updates.
public WindowsUpdateServerSelection ServerSelection { get; set; } #Effective WUA server selection used by the searcher.
public String ServiceId { get; set; } #Effective WUA service identifier used by the searcher, when applicable.
public String ServiceName { get; set; } #Effective WUA service display name used by the searcher, when applicable.
public IReadOnlyList<WindowsUpdateOperationItemResult> Updates { get; set; } #Selected update results.
public Int32 SelectedUpdateCount { get; } #Number of selected updates.
public Int32 SucceededCount { get; set; } #Number of updates that succeeded in the primary requested action.
public Int32 FailedCount { get; set; } #Number of updates that failed in the primary requested action.
public Int32 SkippedCount { get; set; } #Number of updates skipped before the primary requested action.
public WindowsUpdateOperationResultCode DownloadResultCode { get; set; } #Overall download result code, when a download phase ran.
public Nullable<Int32> DownloadHResult { get; set; } #Overall download HRESULT, when a download phase ran.
public WindowsUpdateOperationResultCode InstallResultCode { get; set; } #Overall install result code, when an install phase ran.
public Nullable<Int32> InstallHResult { get; set; } #Overall install HRESULT, when an install phase ran.
public WindowsUpdateOperationResultCode UninstallResultCode { get; set; } #Overall uninstall result code, when an uninstall phase ran.
public Nullable<Int32> UninstallHResult { get; set; } #Overall uninstall HRESULT, when an uninstall phase ran.
public Boolean RebootRequired { get; set; } #Indicates whether the action reported that a reboot is required.
public Nullable<DateTimeOffset> FollowUpCollectedUtc { get; set; } #UTC timestamp when the post-action telemetry snapshot was collected, when available.
public WindowsUpdateTelemetry FollowUpTelemetry { get; set; } #Flattened post-action telemetry snapshot collected after a non-preview action, when enabled.
public String FollowUpCollectionError { get; set; } #Error captured while collecting the post-action telemetry snapshot.
public Nullable<DateTimeOffset> FollowUpCorrelationCollectedUtc { get; set; } #UTC timestamp when the post-action correlation result was collected, when available.
public WindowsUpdateCorrelationResult FollowUpCorrelation { get; set; } #Post-action endpoint or WSUS correlation result, when enabled.
public String FollowUpCorrelationError { get; set; } #Error captured while collecting the post-action correlation result.
public Nullable<DateTimeOffset> FollowUpComplianceSummaryCollectedUtc { get; set; } #UTC timestamp when the post-action compliance summary was collected, when available.
public WindowsUpdateComplianceSummary FollowUpComplianceSummary { get; set; } #Post-action operator-facing compliance summary, when enabled.
public String FollowUpComplianceSummaryError { get; set; } #Error captured while collecting the post-action compliance summary.
public Nullable<WindowsUpdateComplianceState> FollowUpComplianceState { get; } #Convenience mirror of the post-action compliance state.
public Nullable<WindowsUpdatePatchPostureStage> FollowUpPatchPostureStage { get; } #Convenience mirror of the post-action patch-posture stage.
public Nullable<WindowsUpdatePatchPriorityBand> FollowUpPatchPriorityBand { get; } #Convenience mirror of the post-action patch-priority band.
public Nullable<Int32> FollowUpPatchPriorityScore { get; } #Convenience mirror of the post-action patch-priority score.
public String FollowUpPatchRecommendation { get; } #Convenience mirror of the post-action patch recommendation.
public String FollowUpPatchProviderPath { get; } #Convenience mirror of the post-action patch-provider path.
public List<String> Warnings { get; } #Non-fatal warnings encountered while planning or executing the action.
public String CollectionError { get; set; } #Fatal collection or execution error.