次の方法で共有


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

Return Value

Type: System.Int32

The zero-based index at which the update error information was added to the collection.

Exceptions

Exception

Condition

ArgumentException

The update error information already exists in the collection.

ArgumentNullException

value cannot be null.

See Also

Add Overload
SynchronizationUpdateErrorInfoCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top