The question should be read as:
Is there a way we can catch this event via vsphere sdk api and detect that the storage device belonging to a datastore is down and therefore datastore is affected?
Any sample code using events would help. In particular, I am interested n getting info regarding datastore related events.