다음을 통해 공유


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

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

ArgumentOutOfRangeException

relationship is not a valid UpdateRelationship.

WsusObjectNotFoundException

The update could not be found in the database.

See Also

IUpdate Interface
Microsoft.UpdateServices.Administration Namespace

Return to top