ConfigurationSetting 方法 - SetExtendedProtectionSettings

SetExtendedProtectionSettings 方法用于设置 Reporting Services 配置文件 RSReportServer.config 中的 RSWindowsExtendedProtectionLevel 和 RSWindowsExtendedProtectionScenario 属性。

语法

Public Sub SetExtendedProtectionSettings( _  
        ByVal ExtendedProtectionLevel As String, _  
        ByVal ExtendedProtectionScenario As String, _  
        ByRef Warnings() As String, _  
        ByRef Length As Int32, _  
        ByRef HRESULT As Int32)  
public void SetExtendedProtectionSettings(  
            string ExtendedProtectionLevel,  
            string ExtendedProtectionScenario,  
            out string[] Warnings,  
            out Int32 Length,  
            out Int32 HRESULT);  

参数

ExtendedProtectionLevel
设置 RSRreportserver.config 文件中的 RSWindowsExtendedProtectionLevel。 必需值不区分大小写。

下表显示有效值:

"Off | Allow | Require"

ExtendedProtectionScenario
设置 RSReportserver.config 文件中的 RSWindowsExtendedProtectionScenario。 必需值不区分大小写。

下表显示有效值:

"Any" | "Proxy" | "Direct"

注解

RSReportServer.config 文件中的 AuthenticationTypes 包括 RSWindowNTLM、RSWindowsNegotiate 或 RSWindowsKerberos 时,应用 RSWindowsExtendedProtectionLevel 和 RSWindowsExtendedProtectionScenario 属性。 设置这些属性将影响用户和客户端软件如何在报表服务器上进行身份验证。 你应在将 ExtendedProtectionLevel 设置为 Allow 或 Require 前阅读有关扩展保护的文档。

要设置 ExtendedProtectionLevel,用户必须是报表服务器上 BUILTIN\Administrators 组的成员。

要求

命名空间:root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

RSWindowsExtendedProtectionScenario 属性 (WMI MSReportServer_ConfigurationSetting)
RSWindowsExtendedProtectionLevel 属性 (WMI MSReportServer_ConfigurationSetting)
Reporting Services 针对验证的扩展保护
RsReportServer.config 配置文件