zoukankan      html  css  js  c++  java
  • 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();
            }
        }
    }
  • 相关阅读:
    持久化类的三种状态
    Hibernate持久化类规则
    JSP之Bean
    JSP动作标签
    JSP九大内置对象
    Jsp指令
    JSTL标签语言
    JSP之EL表达式
    Java 中的 Characters
    汇编基本语法
  • 原文地址:https://www.cnblogs.com/thlzhf/p/2767281.html
Copyright © 2011-2022 走看看