Since the Name and the Datastore parameter are in the same parameterset, that should work.
Do you have VMs in there that have harddisks on different datastores ?
If yes, you probably only have to migrate the harddisks that are on the specific datastores ? In that case you would have to check per harddisk on which datastore it resides.