IAppConfigServiceSetValue Method |
Namespace: Dundas.BI.Configuration
void SetValue( Guid settingId, AppSettingScope scope, Object? scopeTarget, Object? value )
Exception | Condition |
---|---|
ArgumentException | settingId is Empty. -or- scope is Effective. -or- scope is Server and scopeTarget is empty, , or not a String. -or- scope is ServerGroup and scopeTarget is less than or equal to zero, or not an Int64. -or- value could not be converted to the setting's type. |
ArgumentOutOfRangeException | scope is not one of the AppSettingScope values. |
ValidationException | value does not satisfy the setting's validation rule. |
NotFoundException | There was no registered setting corresponding to the provided setting ID. |
InvalidOperationException | IsOnlyGlobal is for the setting, but scope is not Global. |
NoPrivilegeException | The caller does not have system administrative privileges. -or- The setting is read-only. |
InvalidSessionException | The caller context is not associated with a valid session. |