IUpdateSummary.UpdateId

Retrieves the unique identifier of the update.

public Guid UpdateId {get;}
Public ReadOnly Property UpdateId As Guid

Property Value

Unique identifier of the update. The GUID is empty if IUpdateSummary.IsSummedAcrossAllUpdates is true.

Remarks

To retrieve the IUpdate that is associated with the identifier, create an UpdateRevisionId, setting UpdateRevisionId.UpdateId to UpdateId. Then, call IUpdateServer.GetUpdate, setting id to the update revision identifier that you have just created. For example,

update = server.GetUpdate(new UpdateRevisionId(summary.UpdateId));

where update is an IUpdate variable, server is an IUpdateServer variable, and summary is an IUpdateSummary variable.

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.