Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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');
  • No labels