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.ConfigurationAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
SyntaxObject 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 Guid
- The ID of the setting.
- scope AppSettingScope
- The specific scope to get the setting from.
- scopeTarget Object
-
The name of the server or ID of the group (ignored if scope
is not Server or ServerGroup).
Return Value
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