public Dictionary <string, ReferenceType> GetVMWHostRefsByName() { try { return(VMWVimServer.GetVMWHostRefsByName(this.VcloudClient, this.Reference.href + "/hostReferences")); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static Dictionary <string, ReferenceType> GetVMWHostRefsByName( vCloudClient client, ReferenceType vimServerRef) { try { string url = vimServerRef.href + "/hostReferences"; return(VMWVimServer.GetVMWHostRefsByName(client, url)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }