nerdexam
Microsoft

70-573 · Question #202

70-573 Question #202: Real Exam Question with Answer & Explanation

Sign in or unlock 70-573 to reveal the answer and full explanation for question #202. The question stem and answer options stay visible for context.

Question

You are creating a new Web Part. You need to create a reference to the current subsite without having to dispose of any returned objects. Which code segment should you use? Dim site As SPWebCollection = siteCollection.AllWebs Dim site As SPWeb = siteCollection.RootWeb

Options

  • CDim site As SPSite = SPContext.Current.Site
  • DDim site As SPWeb = SPContext.Current.Web

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.

Full 70-573 Practice