Microsoft
70-573 · Question #116
70-573 Question #116: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #116. The question stem and answer options stay visible for context.
Question
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.) 02Dim root As Web = cCtx.Site.RootWeb 03cCtx.Load(root) 04Dim webInfo As New WebCreationInformation() 05webInfo.Title = "site1" 06webInfo.Url = "site1" 07webInfo.WebTemplate = "MPS#2" 08root.Webs.Add(webInfo) 09 10cCtx.Dispose() You need to ensure that the application creates the site. Which code segment should you add at line 09?
Options
- AcCtx.ExecuteQuery()
- BcCtx.Site.RootWeb.Update()
- Croot.Context.Dispose()
- Droot.Update()
Unlock 70-573 to see the answer
You've previewed enough free 70-573 questions. Unlock 70-573 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.