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