Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

client.FindEntityViews(typeof(HostSystem)...... SLOW take over 20 minutes to retreive 50+ Host... Faster Ways...?

$
0
0

Hi,

     I have an app that i use to create some report from data I grab on each host connected to the VCs....

 

So when I connect I create an List of host using something like  :

 

List<EntityViewBase> hostslist = new List<EntityViewBase>();

hostslist = client.FindEntityViews(typeof(HostSystem), null, null, null ) ;

 

So for a VC where there is only 1 to 5 host this does not take to long to create that list....

 

But I have a VC with 100+ hosts and it took like 25 minutes to just create the list and continue after,....

 

Is there a way to speed up the host listing ?

 

Thanks for any help in advance,,, and will award the point for any helpful answers.

 

Jon


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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