DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Ahmed has posted 1 posts at DZone. View Full User Profile

SharePoint 2010 Developer Dash Board Enabling

12.17.2011
| 1753 views |
  • submit to reddit
        
SPDeveloperDashboardSettings settings = SPWebService.ContentService.DeveloperDashboardSettings;
settings.DisplayLevel = SPDeveloperDashboardLevel.On;
settings.TraceEnabled = true;
settings.Update();