What should you do?

You plan to activate the Developer Dashboard.
You create a command line application that contains the following code segment. (Line numbers are included for reference only.)
1 SPWebService cs = SPWebService.ContentService;
2 cs.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.On;
You execute the application and discover that the Developer Dashboard fails to appear. You need to ensure that the application activates the Developer Dashboard.
What should you do?
A. Add the following line of code at line 03:
cs.Update();
B. Add the following line of code at line 03:
cs.DeveloperDashboardSettings.Update();
C. Change line 02 to the following code segment:
cs.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.Off;
D. Change line 02 to the following code segment:
cs.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.OnDemand;

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.