Removing specified SR-record from database, without attempting to remove SR from disk

Parameters
name type description
session_id session valid session reference
sr SR The SR to destroy
Errors
name arguments description
SR_HAS_PBD sr The SR is still connected to a host via a PBD. It cannot be destroyed.