Console Application
using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
namespace EnableDeveloperDashboard {
class Program {
static void Main() {
SPDeveloperDashboardSettings settings =
SPDeveloperDashboardSettings.ContentService.DeveloperDashboardSettings;
settings.DisplayLevel = SPDeveloperDashboardLevel.On;
settings.TraceEnabled = True;
settings.Update();
}
}
}
using Microsoft.SharePoint.Administration;
namespace EnableDeveloperDashboard {
class Program {
static void Main() {
SPDeveloperDashboardSettings settings =
SPDeveloperDashboardSettings.ContentService.DeveloperDashboardSettings;
settings.DisplayLevel = SPDeveloperDashboardLevel.On;
settings.TraceEnabled = True;
settings.Update();
}
}
}
No comments:
Post a Comment