ILicenseAgreement
Use this interface to retrieve the text of the license agreement and to determine if the agreement was accepted and by whom.
To retrieve this interface, call IUpdate.GetLicenseAgreement.
The ILicenseAgreement interface is derived from the System.Object class.
Public Methods
The ILicenseAgreement interface has the following public methods.
Method | Description |
---|---|
Equals(Object) | Determines if the specified Object is equal to the current Object. |
GetHashCode() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType() | Retrieves the Type of the current instance. |
ToString() | Retrieves a String that represents the current Object. |
Public Properties
The ILicenseAgreement interface has the following public properties.
Property | Description |
---|---|
AcceptedDate | Retrieves the date when the administrator accepted the license agreement. |
AdministratorName | Retrieves the name of the administrator who accepted the license agreement. |
Id | Retrieves the unique identifier of the license agreement. |
IsAccepted | Retrieves the value that indicates if the license agreement has been accepted. |
Text | Retrieves the text of the license agreement. |
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. |