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