IInternalConfigHost.DecryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection) 方法
定义
对加密配置节解密,并将其作为字符串返回。Decrypts an encrypted configuration section and returns it as a string.
public:
System::String ^ DecryptSection(System::String ^ encryptedXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedConfigSection);
public:
System::String ^ DecryptSection(System::String ^ encryptedXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedSection);
public string DecryptSection (string encryptedXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedConfigSection);
public string DecryptSection (string encryptedXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedSection);
abstract member DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
abstract member DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
Public Function DecryptSection (encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection) As String
Public Function DecryptSection (encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedSection As ProtectedConfigurationSection) As String
参数
- encryptedXml
- String
表示配置节的加密 XML 字符串。An encrypted XML string representing a configuration section.
- protectionProvider
- ProtectedConfigurationProvider
ProtectedConfigurationProvider 对象。The ProtectedConfigurationProvider object.
- protectedConfigSectionprotectedSection
- ProtectedConfigurationSection
ProtectedConfigurationSection 对象。The ProtectedConfigurationSection object.
返回
字符串形式的解密的配置节。A decrypted configuration section as a string.