IUpdate.GetRelatedUpdates Method (UpdateRelationship)
Applies To: Windows Server Update Services
Gets related updates.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
UpdateCollection GetRelatedUpdates(
UpdateRelationship relationship
)
UpdateCollection^ GetRelatedUpdates(
UpdateRelationship relationship
)
abstract GetRelatedUpdates :
relationship:UpdateRelationship -> UpdateCollection
Function GetRelatedUpdates (
relationship As UpdateRelationship
) As UpdateCollection
Parameters
relationship
Type: Microsoft.UpdateServices.Administration.UpdateRelationshipSpecifies the relationship to build the UpdateCollection.
Return Value
Type: Microsoft.UpdateServices.Administration.UpdateCollection
The collection of updates that match the specified relationship to this update, or an empty collection if none match.
Exceptions
Exception
Condition
relationship is not a valid UpdateRelationship.
The update could not be found in the database.
See Also
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace
Return to top