Metode ConfigurationSetting - SetExtendedProtection Pengaturan

Metode SetExtendedProtection Pengaturan digunakan untuk mengatur properti RSWindowsExtendedProtectionLevel dan properti RSWindowsExtendedProtectionScenario dalam file RSReportServer.configkonfigurasi Reporting Services .

Sintaks

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);  

Parameter

ExtendedProtectionLevel
Mengatur RSWindowsExtendedProtectionLevel dalam RSRreportserver.config file. Nilai yang diperlukan tidak peka huruf besar/kecil.

Daftar berikut ini memperlihatkan nilai yang valid:

"Off | Allow | Require"

ExtendedProtectionScenario
Mengatur RSWindowsExtendedProtectionScenario dalam RSReportserver.config file. Nilai yang diperlukan tidak peka huruf besar/kecil.

Daftar berikut ini memperlihatkan nilai yang valid:

"Any" | "Proxy" | "Direct"

Keterangan

Properti RSWindowsExtendedProtectionLevel dan RSWindowsExtendedProtectionScenario berlaku saat AuthenticationTypes dalam RSReportServer.config file termasuk RSWindowNTLM, RSWindowsNegotiate, atau RSWindowsKerberos. Mengatur properti ini memengaruhi cara pengguna dan perangkat lunak klien mengautentikasi dengan server laporan. Anda harus membaca dokumentasi untuk perlindungan yang diperluas sebelum mengatur ExtendedProtectionLevel ke Izinkan atau Perlu.

Untuk mengatur ExtendedProtectionLevel, pengguna harus menjadi anggota BUILTIN\Administrators grup di server laporan.

Persyaratan

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

Properti RSWindowsExtendedProtectionScenario (WMI MSReportServer_ConfigurationSetting)
Properti RSWindowsExtendedProtectionLevel (WMI MSReportServer_ConfigurationSetting)
Perlindungan yang Diperluas untuk autentikasi dengan Reporting Services
File konfigurasi RsReportServer.config