Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228332

Re: how to get object created by addDVPortgroup_Task

$
0
0

Hey Sean,

 

sorry - my mistake!

That's the right one:

dvPortgroupCreationTask = dvSwitch.addDVPortgroup_Task(specArray);
System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd(dvPortgroupCreationTask,true,1) ;
myNewDvPortGroup = dvPortgroupCreationTask.info.referece; 
System.log( "New Portgroup: " + dvPortgroupCreationTask.info.refereceName);

I've tested this with a Task against a VCVirtualMachine Object - Was working fine!

 

Regards,

Marc


Viewing all articles
Browse latest Browse all 228332

Trending Articles



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