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
value
Type: Microsoft.UpdateServices.Administration.IUpdateSummaryAn IUpdateSummary of an update's summary information to add to the collection.
Return Value
Type: System.Int32
The zero-based index at which the summary information was added to the collection.
Exceptions
Exception
Condition
The summary information already exists in the collection.
value cannot be null.
See Also
Add Overload
UpdateSummaryCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top