The ConfigManager type exposes the following members.

Properties

  NameDescription
Public propertyConfigurationFileType
Which .NET framework configuration file to update. Supports WebConfig and MachineConfig. Default is MachineConfig
Public propertyPath
Sets the Path to work on. Leave blank to target the .net framework web.config
Public propertyProtectionProvider
The encryption provider. Supports RSAProtectedConfigurationProvider and DataProtectionConfigurationProvider. Default is RSAProtectedConfigurationProvider
Public propertySaveMode
How should changes to the config file be saved? See http://msdn.microsoft.com/en-us/library/system.configuration.configurationsavemode.aspx for the list of values. Default is Minimal
Public propertySection
The config section to protect or unprotect
Public propertySettingName
The setting name to update.
Public propertySettingValue
The setting's value.
Public propertySite
Sets the Site to work on. Leave blank to target the .net framework web.config
Public propertyTaskAction
The action this task should take. Accepted values are SetAppSetting and SetConnectionString.
(Overrides BaseTask..::..TaskAction.)

See Also