Which code segment should you add at line 05?

You have a SharePoint list named Announcements.
You have an event receiver that contains the following code segment. (Line numbers are included for reference only.)

You need to prevent users from adding items that contain the word "secret" in the title to the list.
Which code segment should you add at line 05?
A. properties.Cancel = false;
B. properties.Cancel = true;
C. properties.Status = SPEventReceiverStatus.Continue;
D. return;

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.