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 (24.3.0.1000)
Syntax
TimeSpan GetTimeSpan(
	Guid settingId
)

Parameters

settingId
Type: SystemGuid
The ID of the setting.

Return Value

Type: TimeSpan
The effective value of the setting with the specified ID.
Exceptions
ExceptionCondition
InvalidCastExceptionThe value for the specified setting is not a TimeSpan.
ArgumentExceptionsettingId is Empty.
NotFoundExceptionThere was no registered setting corresponding to the provided setting ID.
See Also