Share via


IUpdateApproval

Use this interface to retrieve information about an approval and to remove the approval.

To retrieve this interface, call the following methods:

The IUpdateApproval interface is derived from the System.Object class.

Public Methods

The IUpdateApproval interface has the following public methods.

Method Description
Delete()

Removes the approval from the update.

Equals(Object)

Determines if the specified Object is equal to the current Object.

GetComputerTargetGroup()

Retrieves the target group to which this approval applies.

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.

GetUpdate()

Retrieves the update to which this approval applies.

ToString()

Retrieves a String that represents the current Object.

Public Properties

The IUpdateApproval interface has the following public properties.

Property Description
Action

Retrieves a value that indicates the action that the client performs when applying the update.

AdministratorName

Retrieves the name of the administrator who approved the update for deployment.

CreationDate

Retrieves the date when the administrator approved the update for deployment.

Deadline

Retrieves the date by when the client will be forced to apply the update.

Id

Retrieves the unique identifier of the approval.

State

Retrieves the current state of the approval.

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.