Which code segment should you add at line 09?

You have a SharePoint site collection that has the URL http://contoso/sites/finance.
You are creating a Microsoft .NET Framework console application that will use the SharePoint client object model to create a site in the site collection.
The application contains the following code segment. (Line numbers are included for reference only.)

You need to ensure that the application creates the site.
Which code segment should you add at line 09?
A. cCtx.ExecuteQuery();
B. cCtx.Site.RootWeb.Update();
C. root.Context.Dispose();
D. root.Update();

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.