IAppConfigGetValueOrDefault Method |
Gets the value of the specified setting in the specified scope, or the setting's default value if it was not set at the specified scope.
Namespace:
Dundas.BI.Configuration
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax Object GetValueOrDefault(
Guid settingId,
AppSettingScope scope,
Object? scopeTarget
)
Function GetValueOrDefault (
settingId As Guid,
scope As AppSettingScope,
scopeTarget As Object
) As Object
Object^ GetValueOrDefault(
Guid settingId,
AppSettingScope scope,
Object^ scopeTarget
)
abstract GetValueOrDefault :
settingId : Guid *
scope : AppSettingScope *
scopeTarget : Object -> Object
Parameters
- settingId
- Type: SystemGuid
The ID of the setting. - scope
- Type: Dundas.BI.ConfigurationAppSettingScope
The specific scope to get the setting from. - scopeTarget
- Type: SystemObject
The name of the server or ID of the group (ignored if scope
is not Server or ServerGroup).
Return Value
Type:
Object
The value of the setting with the specified ID, or the default value for the setting if there is no value for that setting
in the specified scope.
Exceptions See Also