• 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();
            }
        }
    }
  • 相关阅读:
    iOS学习-UILabel
    react js
    代理模式
    利用gitbush从git上下载代码到本地
    VS2017企业版密钥
    office2016产品密钥及激活工具
    .netframe初识
    树的遍历——c#实现
    数据结构——总结
    单例模式
  • 原文地址:https://www.cnblogs.com/thlzhf/p/2767281.html
Copyright © 2020-2023  润新知