Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
languagejs
// Checking the current deadline date:
var date = $WorkItem.DeadlineDate;

// Setting the new deadline date:
$WorkItem.DeadlineDate = DateTimeOffset.parse('2019-08-22 10:15:00');