zoukankan      html  css  js  c++  java
  • 【HOW】如何限制Reporting Services报表导出功能中格式选项

    Reporting Services报表导出功能中缺省会提供多种导出格式选项,但很多情况下不需要全部的格式选项,因此需要对这些选项进行限制。下面我们以SQL Server 2008 R2为例来说明对这些选项进行限制的方法。

    1. 打开报表服务配置文件:"C:Program FilesMicrosoft SQL ServerMSRS10_50.QUISTReporting ServicesReport Server rsreportserver.config"。

    2. 在上述配置文件中找到标签“<Render />”,并会发现有如下的配置行:

    <Render>
        <Extension Name="XML" Type="Microsoft.ReportingServices.Rendering.XmlDataRenderer.XmlDataReport,Microsoft.ReportingServices.XmlRendering"/>
    </Render>

    Name即在报表导出菜单中格式选项的显示名称。

    3. 在格式选项的配置标签中增加属性项“Visible="false"”:

    <Render>
        <Extension Name="XML" Type="Microsoft.ReportingServices.Rendering.XmlDataRenderer.XmlDataReport,Microsoft.ReportingServices.XmlRendering" Visible="false" />
    </Render>

    4. 保存修改后的配置文件,并刷新报表显示页面即可看到限制后的效果。

    参见:
    http://www.sqlserver-training.com/how-to-disablerestrict-ssrs-export-format/-

  • 相关阅读:
    函数配接器
    函数对象和函数指针
    unary_function 和 binary_function
    堆排序
    Shell排序
    volatile理解
    死锁
    进程间通信
    优化循环的方法-循环展开
    如何学习编译原理
  • 原文地址:https://www.cnblogs.com/jancco/p/4007865.html
Copyright © 2011-2022 走看看