Click or drag to resize

IConfigurationManagerSetAppSetting Method

Set the specified application setting

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
void SetAppSetting(
	string key,
	string value
)

Parameters

key  String
The key of the application setting to set
value  String
The value of the application setting
Exceptions
ExceptionCondition
NotSupportedExceptionIf the implementer does not permit setting of app settings prograatically
Remarks
Some configuration environments may not support the setting or modification of configuration programmatically. This may be the case in highly secured environments (like hospitals, national iCDR deployments). In that case, implementers should throw a NotSupportedException
See Also