ConfigurationSetting 方法 - SetExtendedProtectionSettings

使用 SetExtendedProtectionSettings 方法可在報表服務組態檔 RSReportServer.config 中設定 RSWindowsExtendedProtectionLevelRSWindowsExtendedProtectionScenario 屬性。

語法

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 包括 RSWindowNTLMRSWindowsNegotiateRSWindowsKerberos 時,便會套用 RSWindowsExtendedProtectionLevelRSWindowsExtendedProtectionScenario 屬性。 設定這些屬性會影響使用者和用戶端軟體向報表伺服器驗證的方式。 建議您先閱讀擴充保護的文件,然後再將 ExtendedProtectionLevel 設定為 AllowRequire

若要設定 ExtendedProtectionLevel,使用者必須是報表伺服器上 BUILTIN\Administrators 群組的成員。

規格需求

Namespace:root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

RSWindowsExtendedProtectionScenario 屬性 (WMI MSReportServer_ConfigurationSetting)
RSWindowsExtendedProtectionLevel 屬性 (WMI MSReportServer_ConfigurationSetting)
Reporting Services 的驗證擴充保護
RsReportServer.config 設定檔