Hi Yuyang,
The storage volume must be bound to a storage pool first. Do a GetInstance, gi, on the storage volume and look at the EMCIsBound property. It should be False. Next call the EMCBindElement method on the same Symm_StorageConfigurationService instance. Again, do a a gi. The EMCIsBound property should now be True. Repeat your call to EMCReturnToStoragePool. If you do another gi call on the StorageVolume it should fail because the volume has now been deleted.
I hope this helps.
Regards,
Peter
--
You received this message because you are subscribed to the Google Groups "SMI-S Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.
To post to this group, send email to smi-s-devel...@googlegroups.com.
Visit this group at http://groups.google.com/group/smi-s-developers-group.
For more options, visit https://groups.google.com/d/optout.