IUpdate.HasLicenseAgreement Property

 

Applies To: Windows Server Update Services

Gets whether the update has an associated license agreement.

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

Syntax

bool HasLicenseAgreement { get; }
property bool HasLicenseAgreement {
    bool get();
}
abstract HasLicenseAgreement : bool with get
ReadOnly Property HasLicenseAgreement As Boolean

Property Value

Type: System.Boolean

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

Remarks

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

See Also

IUpdate Interface
Microsoft.UpdateServices.Administration Namespace

Return to top