Share via


AutomaticUpdateApprovalDeadline.DayOffset Property

 

Applies To: Windows Server Update Services

Gets a value indicating how many days in the future to set the deadline.

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

Syntax

public short DayOffset { get; set; }
public:
property short DayOffset {
    short get();
    void set(short value);
}
member DayOffset : int16 with get, set
Public Property DayOffset As Short

Property Value

Type: System.Int16

Returns Int16.

Exceptions

Exception

Condition

ArgumentOutOfRangeException

The value of DayOffset is greater than 365 or is negative.

Remarks

When this rule is applied to an update, this value is added to the current date to determine the day of the auto-approval deadline.

See Also

AutomaticUpdateApprovalDeadline Class
Microsoft.UpdateServices.Administration Namespace

Return to top