IAppConfigServiceGetInheritedValueForScope Method |
Gets the effective value of the specified application setting that would be inherited by the specified scope if it didn't supply a value.
Namespace:
Dundas.BI.Configuration
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxAppSettingValue GetInheritedValueForScope(
Guid settingId,
AppSettingScope scope,
Object scopeTarget
)
Function GetInheritedValueForScope (
settingId As Guid,
scope As AppSettingScope,
scopeTarget As Object
) As AppSettingValue
AppSettingValue^ GetInheritedValueForScope(
Guid settingId,
AppSettingScope scope,
Object^ scopeTarget
)
abstract GetInheritedValueForScope :
settingId : Guid *
scope : AppSettingScope *
scopeTarget : Object -> AppSettingValue
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:
AppSettingValueAn object containing the effective value of the setting from the perspective of the specified scope.
Exceptions| 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.
|
| NotFoundException | There was no registered setting corresponding to the provided setting ID. |
| NoPrivilegeException | The caller does not have system administration privileges. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also