SynchronizationUpdateErrorInfoCollection.Add Method (SynchronizationUpdateErrorInfo)
Applies To: Windows Server Update Services
Adds update error information to the end of the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public int Add(
SynchronizationUpdateErrorInfo value
)
public:
int Add(
SynchronizationUpdateErrorInfo^ value
)
member Add :
value:SynchronizationUpdateErrorInfo -> int
Public Function Add (
value As SynchronizationUpdateErrorInfo
) As Integer
Parameters
value
Type: Microsoft.UpdateServices.Administration.SynchronizationUpdateErrorInfoAn SynchronizationUpdateErrorInfo of the update error information to add.
Return Value
Type: System.Int32
The zero-based index at which the update error information was added to the collection.
Exceptions
Exception
Condition
The update error information already exists in the collection.
value cannot be null.
See Also
Add Overload
SynchronizationUpdateErrorInfoCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top