Inside SharePoint 2010 (2): Enabling the SharePoint 2010 Developer Dashboard
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
namespace ConsoleApplication1
{
class Program
{
static void Main( string [] args)
{
SPDeveloperDashboardSettings settings = SPWebService.ContentService.DeveloperDashboardSettings;
settings.DisplayLevel = SPDeveloperDashboardLevel.On;
settings.TraceEnabled = true ;
settings.Update();
Console.WriteLine( " Finished... " );
Console.ReadLine();
}
}
}
查看更多关于Inside SharePoint 2010 (2): Enabling the SharePoin的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did41882