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