Share via


IUpdateSummary.UpdateId Property

 

Applies To: Windows Server Update Services

Gets the GUID of the update.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

Guid UpdateId { get; }
property Guid UpdateId {
    Guid get();
}
abstract UpdateId : Guid with get
ReadOnly Property UpdateId As Guid

Property Value

Type: System.Guid

The GUID of the update. The GUID is empty if IsSummedAcrossAllUpdates is true.

Remarks

To get the IUpdate that is associated with the identifier, create an UpdateRevisionId, setting UpdateId to UpdateId. Then call GetUpdate, setting the 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.

See Also

IUpdateSummary Interface
Microsoft.UpdateServices.Administration Namespace

Return to top