Share via


SetExtendedProtectionSettings 方法 (WMI MSReportServer_ConfigurationSetting)

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\RS_<EncodedInstanceName>\v10\Admin

平台: Windows Server 2003 Datacenter Edition;Windows Server 2003 Enterprise Edition;Windows Server 2003 Standard Edition;Windows Vista;Windows XP Professional Service Pack 2 (SP2) 或 Service Pack 1 (SP1) 或者 Windows 2000(所有版本)