Which code segment should you add at line 04?

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?

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?

A.
measure.ResourcesPerPoint = 0

B.
measure.AbsoluteLimit = 1

C.
measure.AbsoluteLimit = 0

D.
measure.ResourcesPerPoint = 1



Leave a Reply 0

Your email address will not be published. Required fields are marked *