IAppConfigGetTimeSpan Method |
Gets the effective value of the specified configuration setting as a TimeSpan.
Namespace:
Dundas.BI.Configuration
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxTimeSpan GetTimeSpan(
Guid settingId
)
Function GetTimeSpan (
settingId As Guid
) As TimeSpan
TimeSpan GetTimeSpan(
Guid settingId
)
abstract GetTimeSpan :
settingId : Guid -> TimeSpan
Parameters
- settingId
- Type: SystemGuid
The ID of the setting.
Return Value
Type:
TimeSpan
The effective value of the setting with the specified ID.
Exceptions| Exception | Condition |
|---|
| InvalidCastException | The value for the specified setting is not a TimeSpan. |
| ArgumentException | settingId is Empty. |
| NotFoundException | There was no registered setting corresponding to the provided setting ID. |
See Also