'Get datastore where the backing resides.
:param backing: Reference to the backing
:return: Datastore reference to which the backing belongs'

def get_datastore(self, backing):

    return self._session.invoke_api(vim_util, 'get_object_property', self._session.vim, backing, 'datastore').ManagedObjectReference[0]
