Partager via


Méthode SetExtendedProtectionSettings (WMI MSReportServer_ConfigurationSetting)

La méthode SetExtendedProtectionSettings sert à définir les propriétés RSWindowsExtendedProtectionLevel et RSWindowsExtendedProtectionScenario dans le fichier de configuration Reporting Services (RSReportServer.config).

Syntaxe

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

Paramètres

ExtendedProtectionLevel
Définit RSWindowsExtendedProtectionLevel dans le fichier RSRreportserver.config. La valeur est obligatoire et ne respecte pas la casse.

La liste suivante affiche les valeurs valides :

"Off | Allow | Require"

ExtendedProtectionScenario
Définit RSWindowsExtendedProtectionScenario dans le fichier RSReportserver.config. La valeur est obligatoire et ne respecte pas la casse.

La liste suivante affiche les valeurs valides :

"Any" | "Proxy" | "Direct"

Notes

Les propriétés RSWindowsExtendedProtectionLevel et RSWindowsExtendedProtectionScenario s'appliquent lorsque AuthenticationTypes dans le fichier RSReportServer.config inclut RSWindowNTLM, RSWindowsNegotiate ou RSWindowsKerberos. La définition de ces propriétés change la manière dont les utilisateurs et le logiciel client sont authentifiés au niveau du serveur de rapports. Nosu vous conseillons de lire la documentation relative à la protection étendue avant de définir la propriété ExtendedProtectionLevel sur Allow ou Require.

Pour définir la propriété ExtendedProtectionLevel, l'utilisateur doit être un membre du groupe BUILTIN\Administrators sur le serveur de rapports.

Spécifications

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

Voir aussi

Propriété RSWindowsExtendedProtectionScenario (WMI MSReportServer_ConfigurationSetting)
RSWindowsExtendedProtectionLevel, propriété (MSReportServer_ConfigurationSetting WMI)
Protection étendue de l'authentification avec Reporting Services
Fichier de configuration RSReportServer