Determine Task Schedule Conflict
Contents
[
Hide
Show
]How to Check Task Schedule Discrepancy
The Tsk class exposes the Warning field, used to check if the task has any schedule discrepancies. This is a flag and returns true or false.
1Project project = new Project("New Project.mpp");
2Task task = project.RootTask.Children.GetById(1);
3Console.WriteLine(task.Get(Tsk.Warning));