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