i'd like to do some advanced search with VimClient.FindEntityViews(Type viewType, ManagedObjectReference beginEntity, NameValueCollection filter, string properties). Actually i get some VMs based on the Name property of a VM like this:
VimClient client = getVimClient();
NameValueCollection nvc = new NameValueCollection();
List results = client.FindEntityViews(typeof(VirtualMachine), null, nvc, null);
Then i have to sort out all VMs with special further properties manually in my C# program.
Is there a possibility to do searches like in SQL? I thought about something like
"Select all VMs where Name is not 'some-Name' "
Thanks and regards
I've not tested this out but perhaps
Message was edited by: Jeff Patton Hit enter too soon!