Overview
Gets or sets deadline date of a work item.DateTimeOffset myWorkItem.DeadlineDate { get; set; }
Remarks
If no deadline date set returns null.
If state is not in Waiting or Created, trying to set this property is prohibited, and an access denied error will be thrown.
New deadline date should be created using the DateTimeOffset.
Example
// Checking the current deadline date: var date = $WorkItem.DeadlineDate; // Setting the new deadline date: $WorkItem.DeadlineDate = DateTimeOffset.parse('2019-08-22 10:15:00');