nerdexam
Microsoft

70-573 · Question #185

You need to disable the CriticalExceptionCount measure for all user solutions. You write the following code segment. (Line numbers are included for reference only.) 01 Dim userCode As…

The correct answer is C. measure.ResourcesPerPoint = 0. See the full explanation below for the reasoning.

Question

You need to disable the CriticalExceptionCount measure for all user solutions. You write the following code segment. (Line numbers are included for reference only.) 01 Dim userCode As SPUserCodeService = SPUserCodeService.Local 02 Dim measures As SPResourceMeasureCollection = userCode.ResourceMeasures 03 Dim measure As SPResourceMeasure = measures("CriticalExceptionCount") 04 05 measure.Update() Which code segment should you add at line 04?

Options

  • Ameasure.AbsoluteLimit = 0
  • Bmeasure.AbsoluteLimit = 1
  • Cmeasure.ResourcesPerPoint = 0
  • Dmeasure.ResourcesPerPoint = 1

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    75% (12)
  • D
    13% (2)

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice