Share via


UpdateSummaryCollection.Add Method (IUpdateSummary)

 

Applies To: Windows Server Update Services

Adds an update's summary installation information to the end of the collection.

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

Syntax

public int Add(
    IUpdateSummary value
)
public:
int Add(
    IUpdateSummary^ value
)
member Add : 
        value:IUpdateSummary -> int
Public Function Add (
    value As IUpdateSummary
) As Integer

Parameters

Return Value

Type: System.Int32

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

Exceptions

Exception

Condition

ArgumentException

The summary information already exists in the collection.

ArgumentNullException

value cannot be null.

See Also

Add Overload
UpdateSummaryCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top