Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a list of related updates.
public UpdateCollection GetRelatedUpdates(UpdateRelationshiprelationship);
Public Function GetRelatedUpdates( _
ByVal relationship As UpdateRelationship _
) As UpdateCollection
Implements IUpdate.GetRelatedUpdates
Parameters
- relationship
Specifies the relationship of the updates to this update that you want to retrieve. For example, you want to retrieve updates that bundle this update or all revisions of this update. For details, see UpdateRelationship.
Return Value
An UpdateCollection collection that contains the list of related updates, or an empty collection if none matches.
Exceptions
| Exception type | Condition |
|---|---|
| System.ArgumentOutOfRangeException | The value for relationship is not valid. |
| WsusObjectNotFoundException | The update was not found in the database. |
Requirements
| Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
| Namespace | Defined in Microsoft.UpdateServices.Administration. |
| Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
| .NET Framework | Requires .NET Framework 1.1. |