This project has moved and is read-only. For the latest updates, please go here.

show hidden tasks and get all tasks in root and all subfolders(server 2012, 2008)

Topics: Examples
May 11, 2013 at 9:07 PM

This is very cool. I am trying to setup an example console app that will list all tasks from root and subfolders. I have come so far that is has displayed the first tasks, but I can see it excludes the hidden. It requires regex it said. ? can some please help me in getting all tasks also the hidden and maybe how to retrive all tasks beneth layers of subfolders recursively.

Thanks in advance.
May 12, 2013 at 5:38 PM
You must be trying to use the GetTasks method. There is an easier way. Please see the "Enumerate all tasks" sample code on the Examples page.
May 13, 2013 at 10:21 PM
I was using the GetTasks method.
Thanks, don't know why I missed that :) I have now all tasks and I can toggle if I wanna see the ones that are hidden.

I now will try to see if I can search for a task by name and list that.