Источник:
http://mscrmblog.net/2011/07/10/shar...per-dashboard/
==============
Developer Dashboard is one of the hidden features in SharePoint 2010. It is turned off by default.
Enabling this feature will help you get critical information such as Execution time, log ID, critical events, database queries, service calls, SPRequest allocation and webpart events.
Developer Dashboard Modes:
‘On’ Mode:
STSADM:
stsadm -o setproperty -pn developer-dashboard -pv on
Powershell:
$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On;
$sp2010.RequiredPermissions = 'EmptyMask';
$sp2010.TraceEnabled = $true;
$sp2010.Update();
When in this mode, it stays on be default:
‘On Demand’ Mode:
STSADM:
stsadm -o setproperty -pn developer-dashboard -pv ondemand
Powershell:
$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand;
$sp2010.RequiredPermissions = 'EmptyMask';
$sp2010.TraceEnabled = $true;
$sp2010.Update();
You will have to click the icon for the developer dashboard to show:
Disable Developer Dashboard:
STSADM:
stsadm -o setproperty -pn developer-dashboard -pv off
Powershell:
$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::Off;
$sp2010.Update();
Dashboard not shown or enabled.
Источник:
http://mscrmblog.net/2011/07/10/shar...per-dashboard/