nerdexam
Microsoft

70-573 · Question #83

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

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

Question

You are creating a Web Part for SharePoint Server 2010. The Web Part contains the following code segment. (Line numbers are included for reference only.) 01 protected override void CreateChildControls () 02 { 03 base.CreateChildControls (); 04 SPSecurity.FunWithElevatedPrivileges ( 05 delegate 06 { 07 Label ListCount = new Label (); 08 ListCount.Text = String.Format ("There are {0> Lists", SPContext.Current.Heb.Lists.Count ); 09 Controls.Add ( ListCount ) ; 10 }} 11 } You need to identify which line of code prevents the Web Part from being deployed as a sandboxed solution. Which line of code should you identify?

Options

  • A04
  • B09
  • C08
  • D03

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