Freigeben über


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

Return Value

Type: System.Int32

Zero-based index at which the classification was added to the collection.

Exceptions

Exception

Condition

ArgumentException

The classification already exists in the collection.

ArgumentNullException

value cannot be null.

See Also

Add Overload
UpdateClassificationCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top