Asn.UpdateNeeded

Asn.UpdateNeeded field

Determines whether the resource assigned to a task needs to be updated as to the status of the task.

public static readonly Key<bool, AsnKey> UpdateNeeded;

Examples

Shows how to read/write Asn.UpdateNeeded property.

var project = new Project();

var task = project.RootTask.Children.Add("Task 1");
task.Set(Tsk.Start, new DateTime(2000, 1, 3, 8, 0, 0));
task.Set(Tsk.Duration, project.GetDuration(8));

var resource = project.Resources.Add("Resource 1");

var assignment = project.ResourceAssignments.Add(task, resource);
assignment.Set(Asn.UpdateNeeded, true);

Console.WriteLine("Update Needed: " + assignment.Get(Asn.UpdateNeeded));

See Also