IAppConfigServiceGetEffectiveValueForScope Method

Gets the effective value of the specified application setting from the perspective of the specified scope.

Namespace:  Dundas.BI.Configuration
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
AppSettingValue GetEffectiveValueForScope(
	Guid settingId,
	AppSettingScope scope,
	Object? scopeTarget
)

Parameters

settingId
Type: SystemGuid
The ID of the setting.
scope
Type: Dundas.BI.ConfigurationAppSettingScope
The scope.
scopeTarget
Type: SystemObject
The server name or server group ID (ignored if scope is not Server or ServerGroup). Specify to use the server name or server group ID from the current server.

Return Value

Type: AppSettingValue
An object containing the effective value of the setting from the perspective of the specified scope.
Exceptions
ExceptionCondition
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.

NotFoundExceptionThere was no registered setting corresponding to the provided setting ID.
NoPrivilegeExceptionThe caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also