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 和 the 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 (所有版本)