Freigeben über


UpdateSummaryCollection Class

 

Applies To: Windows Server Update Services

Represents a collection of summary installation information for updates. To retrieve this collection, call one of the following methods: GetSummaryPerUpdate; GetTotalSummaryPerComputerTarget; GetSummaryPerComputerTargetGroup.

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.UpdateSummaryCollection

Syntax

[SerializableAttribute]
[GuidAttribute("BB6A4D92-3B9D-496D-A7DE-3E9B1D27989C")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public class UpdateSummaryCollection : WsusCollection
[SerializableAttribute]
[GuidAttribute("BB6A4D92-3B9D-496D-A7DE-3E9B1D27989C")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
public ref class UpdateSummaryCollection : WsusCollection
[<SerializableAttribute>]
[<GuidAttribute("BB6A4D92-3B9D-496D-A7DE-3E9B1D27989C")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<ComVisibleAttribute(true)>]
type UpdateSummaryCollection = 
    class
        inherit WsusCollection
    end
<SerializableAttribute>
<GuidAttribute("BB6A4D92-3B9D-496D-A7DE-3E9B1D27989C")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public Class UpdateSummaryCollection
    Inherits WsusCollection

Constructors

Name Description
System_CAPS_pubmethod UpdateSummaryCollection()

Initializes a new instance of the UpdateSummaryCollection class.

Properties

Name Description
System_CAPS_pubproperty Capacity

(Inherited from CollectionBase.)

System_CAPS_pubproperty Count

(Inherited from CollectionBase.)

System_CAPS_protproperty InnerList

(Inherited from CollectionBase.)

System_CAPS_pubproperty Item[Int32]

Gets or sets the member of the collection at the specified index.

System_CAPS_protproperty List

(Inherited from CollectionBase.)

Methods

Name Description
System_CAPS_pubmethod Add(IUpdateSummary)

Adds an update's summary installation information to the end of the collection.

System_CAPS_protmethod Add(Object)

Adds an element to the end of the collection.(Inherited from WsusCollection.)

System_CAPS_protmethod AddRange(Array)

Adds the elements of the specified array to the end of this collection. (Inherited from WsusCollection.)

System_CAPS_pubmethod AddRange(IUpdateSummary[])

Adds an array of update summary information to the end of the collection.

System_CAPS_pubmethod AddRange(UpdateSummaryCollection)

Adds the members of an update summary information collection to the end of this collection.

System_CAPS_protmethod AddRange(WsusCollection)

Adds the items in the specified SusCollectionBase to the end of this collection.(Inherited from WsusCollection.)

System_CAPS_pubmethod Clear()

(Inherited from CollectionBase.)

System_CAPS_pubmethod Contains(IUpdateSummary)

Determines whether the collection contains the specified update summary installation information.

System_CAPS_protmethod Contains(Object)

Determines whether the specified element is in the collection.(Inherited from WsusCollection.)

System_CAPS_protmethod 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.)

System_CAPS_pubmethod CopyTo(IUpdateSummary[], Int32)

Copies the summary installation information for the updates in the collection to a one-dimensional array.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from CollectionBase.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(IUpdateSummary)

Determines whether the collection contains the specified update summary installation information. If the collection contains the summary information, the method returns the zero-based index to the summary information in the collection.

System_CAPS_protmethod IndexOf(Object)

Searches for the specified element and returns the zero-based index of it if it exists.(Inherited from WsusCollection.)

System_CAPS_pubmethod Insert(Int32, IUpdateSummary)

Inserts the summary installation information for an update into the collection.

System_CAPS_protmethod Insert(Int32, Object)

Inserts an element into the collection at the specified index.(Inherited from WsusCollection.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnClear()

(Inherited from CollectionBase.)

System_CAPS_protmethod OnClearComplete()

Performs additional custom processes after clearing the contents of the UpdateCollection instance.(Inherited from WsusCollection.)

System_CAPS_protmethod OnInsert(Int32, Object)

Provides overridden validation functionality which checks that we do not insert duplicates into our collection.(Inherited from WsusCollection.)

System_CAPS_protmethod OnInsertComplete(Int32, Object)

Performs additional custom processes after inserting a new element into the UpdateCollection instance.(Inherited from WsusCollection.)

System_CAPS_protmethod OnRemove(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethod OnRemoveComplete(Int32, Object)

Performs additional custom processes after removing an element from the UpdateCollection instance.(Inherited from WsusCollection.)

System_CAPS_protmethod OnSet(Int32, Object, Object)

Provices overridden validation functionality which checks that we do not insert duplicates into our collection.(Inherited from WsusCollection.)

System_CAPS_protmethod OnSetComplete(Int32, Object, Object)

Performs additional custom processes after setting a value in the UpdateCollection instance.(Inherited from WsusCollection.)

System_CAPS_protmethod OnValidate(Object)

(Inherited from CollectionBase.)

System_CAPS_pubmethod Remove(IUpdateSummary)

Removes the summary installation information for an update from the collection.

System_CAPS_protmethod Remove(Object)

Removes a specified element from the collection.(Inherited from WsusCollection.)

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from CollectionBase.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.IsSynchronized

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.SyncRoot

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsFixedSize

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsReadOnly

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty 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