Which code segment should you add at line 04?

You need to create a Web Part that adds a term set to the current SharePoint site collection’s term store.
You write the following code segment. (Line numbers are included for reference only.)

Which code segment should you add at line 04?
A. addedTerm.Export();
B. addedTerm.TermStore.CommitAll();
C. SPContext.Current.Site.WebApplication.Update();
D. SPContext.Current.Web.AllowUnsafeUpdates = true;

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.