PackageApproval.Deadline Property

Gets the latest time that the action must be completed by clients. After this time, clients will no longer have a choice about whether to apply the update.

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

Usage

Syntax

'Declaration
Public ReadOnly Property Deadline As DateTime
public DateTime Deadline { get; }
public:
property DateTime Deadline {
    DateTime get ();
}
/** @property */
public DateTime get_Deadline ()
public function get Deadline () : DateTime

Property Value

The UTC date and time at which clients will be forced to apply the update. A value of DateTime.MaxValue indicates that there is no deadline.

Remarks

This value is ignored when IsOptional is true. This value is only valid for Install and Uninstall actions, and is ignored for all other actions.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2

See Also

Reference

PackageApproval Class
PackageApproval Members
Microsoft.UpdateServices.ClientServicing Namespace