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

Problems getting tasklist

$
0
0



I have the following code


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




It compiles fine and everything is dandy. Except, the tasklist is always empty, nothing is returned.


Am I searching the wrong place?


As far as I can understand from the documentation, it should have atleast some records.


Viewing all articles
Browse latest Browse all 2039

Trending Articles



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