UpdateClassificationCollection Class
Applies To: Windows Server Update Services
Collection of update classifications. Classifications define a grouping of updates. For example, Security Updates, Critical Updates, or Driver Updates. To retrieve this collection, call one of the following methods: GetUpdateClassifications; GetUpdateClassifications; GetUpdateClassifications; GetUpdateClassifications.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Inheritance Hierarchy
System.Object
System.Collections.CollectionBase
Microsoft.UpdateServices.Administration.WsusCollection
Microsoft.UpdateServices.Administration.UpdateClassificationCollection
Syntax
[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("C8E1AA13-B0C8-4D3D-92F4-DF917E3F64EB")]
[ComVisibleAttribute(true)]
public class UpdateClassificationCollection : WsusCollection
[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute("C8E1AA13-B0C8-4D3D-92F4-DF917E3F64EB")]
[ComVisibleAttribute(true)]
public ref class UpdateClassificationCollection : WsusCollection
[<SerializableAttribute>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("C8E1AA13-B0C8-4D3D-92F4-DF917E3F64EB")>]
[<ComVisibleAttribute(true)>]
type UpdateClassificationCollection =
class
inherit WsusCollection
end
<SerializableAttribute>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<GuidAttribute("C8E1AA13-B0C8-4D3D-92F4-DF917E3F64EB")>
<ComVisibleAttribute(True)>
Public Class UpdateClassificationCollection
Inherits WsusCollection
Constructors
Name | Description | |
---|---|---|
UpdateClassificationCollection() | Initializes a new instance of the UpdateClassificationCollection class. |
Properties
Name | Description | |
---|---|---|
Capacity | (Inherited from CollectionBase.) |
|
Count | (Inherited from CollectionBase.) |
|
InnerList | (Inherited from CollectionBase.) |
|
Item[Int32] | Retrieves or sets the member of the collection at the specified index. |
|
List | (Inherited from CollectionBase.) |
Methods
Name | Description | |
---|---|---|
Add(IUpdateClassification) | Adds an update classification to the end of the collection. |
|
Add(Object) | Adds an element to the end of the collection.(Inherited from WsusCollection.) |
|
AddRange(Array) | Adds the elements of the specified array to the end of this collection. (Inherited from WsusCollection.) |
|
AddRange(IUpdateClassification[]) | Adds an array of update classifications to the end of the collection. |
|
AddRange(UpdateClassificationCollection) | Adds the members of an update classification collection to the end of the collection. |
|
AddRange(WsusCollection) | Adds the items in the specified SusCollectionBase to the end of this collection.(Inherited from WsusCollection.) |
|
Clear() | (Inherited from CollectionBase.) |
|
Contains(IUpdateClassification) | Determines if the collection contains the specified update classification. |
|
Contains(Object) | Determines whether the specified element is in the collection.(Inherited from WsusCollection.) |
|
CopyTo(Array, Int32) | Copies the entire collection of values to a one-dimensional array, starting at the specified index of the target array.(Inherited from WsusCollection.) |
|
CopyTo(IUpdateClassification[], Int32) | Copies the update classifications in the collection to a one-dimensional array. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | (Inherited from CollectionBase.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(IUpdateClassification) | Determines if the collection contains a specified update classification. If the collection contains the classification, the method returns the zero-based index to the classification in the collection. |
|
IndexOf(Object) | Searches for the specified element and returns the zero-based index of it if it exists.(Inherited from WsusCollection.) |
|
Insert(Int32, IUpdateClassification) | Inserts an update classification into the collection. |
|
Insert(Int32, Object) | Inserts an element into the collection at the specified index.(Inherited from WsusCollection.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
OnClear() | (Inherited from CollectionBase.) |
|
OnClearComplete() | Performs additional custom processes after clearing the contents of the UpdateCollection instance.(Inherited from WsusCollection.) |
|
OnInsert(Int32, Object) | Provides overridden validation functionality which checks that we do not insert duplicates into our collection.(Inherited from WsusCollection.) |
|
OnInsertComplete(Int32, Object) | Performs additional custom processes after inserting a new element into the UpdateCollection instance.(Inherited from WsusCollection.) |
|
OnRemove(Int32, Object) | (Inherited from CollectionBase.) |
|
OnRemoveComplete(Int32, Object) | Performs additional custom processes after removing an element from the UpdateCollection instance.(Inherited from WsusCollection.) |
|
OnSet(Int32, Object, Object) | Provices overridden validation functionality which checks that we do not insert duplicates into our collection.(Inherited from WsusCollection.) |
|
OnSetComplete(Int32, Object, Object) | Performs additional custom processes after setting a value in the UpdateCollection instance.(Inherited from WsusCollection.) |
|
OnValidate(Object) | (Inherited from CollectionBase.) |
|
Remove(IUpdateClassification) | Removes the update classification from the collection. |
|
Remove(Object) | Removes a specified element from the collection.(Inherited from WsusCollection.) |
|
RemoveAt(Int32) | (Inherited from CollectionBase.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo(Array, Int32) | (Inherited from CollectionBase.) |
|
IList.Add(Object) | (Inherited from CollectionBase.) |
|
IList.Contains(Object) | (Inherited from CollectionBase.) |
|
IList.IndexOf(Object) | (Inherited from CollectionBase.) |
|
IList.Insert(Int32, Object) | (Inherited from CollectionBase.) |
|
IList.Remove(Object) | (Inherited from CollectionBase.) |
|
ICollection.IsSynchronized | (Inherited from CollectionBase.) |
|
ICollection.SyncRoot | (Inherited from CollectionBase.) |
|
IList.IsFixedSize | (Inherited from CollectionBase.) |
|
IList.IsReadOnly | (Inherited from CollectionBase.) |
|
IList.Item[Int32] | (Inherited from CollectionBase.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.UpdateServices.Administration Namespace
Return to top