IUpdate.HasLicenseAgreement

Retrieves a value that indicates if the update has an associated license agreement.

public bool HasLicenseAgreement {get;}
Public ReadOnly Property HasLicenseAgreement As bool

Property Value

True if the update has an associated license agreement; otherwise, false.

Remarks

To retrieve the license agreement, call IUpdate.GetLicenseAgreement. To determine if the user must accept the agreement before you can approve the update, call IUpdate.RequiresLicenseAgreementAcceptance.

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.