IInternalConfigHost.EncryptSection Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Versleutelt een configuratiesectie en retourneert deze als een tekenreeks.
public:
System::String ^ EncryptSection(System::String ^ clearTextXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedConfigSection);
public string EncryptSection(string clearTextXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedConfigSection);
abstract member EncryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
Public Function EncryptSection (clearTextXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection) As String
Parameters
- clearTextXml
- String
Een XML-tekenreeks die een configuratiesectie vertegenwoordigt die moet worden versleuteld.
- protectionProvider
- ProtectedConfigurationProvider
Het ProtectedConfigurationProvider-object.
- protectedConfigSection
- ProtectedConfigurationSection
Het ProtectedConfigurationSection-object.
Retouren
Een versleutelde configuratiesectie die wordt weergegeven als een tekenreeks.