SynchronizationUpdateErrorInfoCollection.Add(SynchronizationUpdateErrorInfo)
Adds update error information to the end of the collection.
public Int32 Add(
SynchronizationUpdateErrorInfo value
);
Public Function Add( _
ByVal value As SynchronizationUpdateErrorInfo _
) As Int32
Parameters
- value
An SynchronizationUpdateErrorInfo of the update error information to add.
Return Values
Zero-based index at which the update error information was added to the collection.
Exceptions
| Exception type | Condition |
|---|---|
| System.ArgumentException | The update error information already exists in the collection. |
| System.ArgumentNullException | value cannot be null. |
Requirements
| Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
| Namespace | Defined in Microsoft.UpdateServices.Administration. |
| Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
| .NET Framework | Requires .NET Framework 1.1. |