Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

Problem with TaskList

$
0
0



foreach (ReferenceType orgref in orgsList.Values)
            {               
                    var taskRef = Organization.GetOrganizationByReference(client, orgref).GetTasksListRef();
                    var tasklist = TaskList.GetTaskListByReference(client, taskRef).GetTasks();
                    //Do Stuff
            }


I have this code.


But the tasklist is empty every time - I can get vm's and vDC and so on and so forth, but the tasklist for my organization is empty.


Am I looking the wrong place?
 


Viewing all articles
Browse latest Browse all 2039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>