Freigeben über


ISynchronizationInfo.UpdateErrors Property

 

Applies To: Windows Server Update Services

Gets a collection of errors for updates that failed to import into the local database.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

SynchronizationUpdateErrorInfoCollection UpdateErrors { get; }
property SynchronizationUpdateErrorInfoCollection^ UpdateErrors {
    SynchronizationUpdateErrorInfoCollection^ get();
}
abstract UpdateErrors : SynchronizationUpdateErrorInfoCollection with get
ReadOnly Property UpdateErrors As SynchronizationUpdateErrorInfoCollection

Property Value

Type: Microsoft.UpdateServices.Administration.SynchronizationUpdateErrorInfoCollection

A SynchronizationUpdateErrorInfoCollection collection that contains errors that occurred when trying to import updates into the local database. You should check this collection only if the value of Result is.Failed.

Remarks

This collection of errors is for events of type SynchronizationCompletion. For any other SubscriptionEventCategory, the collection will be empty.

Error can return ImportUpdateError, which indicates that this collection contains import errors. However, you should not use this as an indicator of when to get the collection because the synchronization process can report both import and non-import errors at the same time. When import and non-import errors occur at the same time, Error reports the non-import errors and UpdateErrors reports the import errors.

See Also

ISynchronizationInfo Interface
Microsoft.UpdateServices.Administration Namespace

Return to top