ConfigurationSetting 方法 - SetExtendedProtectionSettings
使用 SetExtendedProtectionSettings 方法可在報表服務組態檔 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
群組的成員。
規格需求
Namespace:root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin
相關內容
RSWindowsExtendedProtectionScenario 屬性 (WMI MSReportServer_ConfigurationSetting)
RSWindowsExtendedProtectionLevel 屬性 (WMI MSReportServer_ConfigurationSetting)
Reporting Services 的驗證擴充保護
RsReportServer.config 設定檔
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應