Online Training On SharePoint

Question on Events

Question 36: We need to stop a user from deleting a document from a document library. In this scenario what would be the correct statements:

a. Use ItemDeleted Event

b. Use ItemDeleting Event

c. Use properties.Cancel = true;

d. Use properties.Cancel = false;

Check Answer