Queries the server for a list of time zones.

Returns a list of time zones and their display name. Each time zone has 3 possible display names: normal display name, daylight saving time display name, and standard time display name. As a result, this function requires an enum value from TimeZoneDisplayNameType in the input so it can return the correct display name.

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (21.2.0.218)

Syntax

C#
public static ReadOnlyCollection<ConfigurationId> GetTimeZones(
	ConfigurationManager configurationManager,
	TimeZoneDisplayNameType displayNameType
)
Visual Basic
Public Shared Function GetTimeZones ( _
	configurationManager As ConfigurationManager, _
	displayNameType As TimeZoneDisplayNameType _
) As ReadOnlyCollection(Of ConfigurationId)

Parameters

configurationManager
Type: ININ.IceLib.Configuration..::..ConfigurationManager
The configuration manager.
displayNameType
Type: ININ.IceLib.Configuration.DataTypes..::..TimeZoneDisplayNameType
Display type of the name.

Return Value

A ReadOnlyCollection<(Of <(<'T>)>)> of ConfigurationId objects.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 2 and beyond.

See Also