zoukankan      html  css  js  c++  java
  • ActivateOnDefault & AutoActivateInCentralAdmin feature 属性

    <?xml version="1.0" encoding="utf-8" ?>
    <Feature Id="21003D96-D88E-42ed-AF97-2C4C22BFA3CF"
         
    Title="Test Web Application Feature"
         
    Description="I should be activated by default."
         
    Version="1.0.0.0"
         
    Scope="WebApplication"
         
    Hidden="false"
         
    xmlns="http://schemas.microsoft.com/sharepoint/"
         
    ActivateOnDefault="true"
         
    AutoActivateInCentralAdmin="true"
         
    AlwaysForceInstall="true">
    </Feature>
    ActivateOnDefault 
     Optional Boolean. TRUE if the Feature is activated by default during installation or when a Web application is created; FALSE if the Feature is not activated. This attribute equals TRUE by default. The ActivateOnDefault attribute does not apply to site collection (Site) or Web site (Web) scoped Features.
    In general, Farm-scoped Features become activated during installation, and when a new Web application is created, all installed Web application-scoped Features in it become activated.

    AutoActivateInCentralAdmin
    Optional Boolean. TRUE if the Feature is activated by default in the Administrative Web site, site collection, or Web application. This attribute equals FALSE by default. The AutoActivateInCentralAdmin attribute does not apply to Farm-scoped Features.





  • 相关阅读:
    SessionAttributes注解
    数据格式化
    数据类型转换器
    线程的常用方法总结
    线程生命周期
    分析配置DispatcherServlet类时load-on-startup标签作用
    springMVC的执行请求过程
    MyBatis之动态SQL
    MyBatis实现
    Spring框架中的JDK与CGLib动态代理
  • 原文地址:https://www.cnblogs.com/teamleader/p/2321251.html
Copyright © 2011-2022 走看看