GetSystemTimeZoneInfo Method
- Last UpdatedAug 21, 2026
- 1 minute read
The GetSystemTimeZoneInfo() method gets the time zone information based on the current time zone name from the Historian Server.
'Declaration
Public Function GetSystemTimeZoneInfo( _
ByRef timeZoneName As TimeZoneInfo, _
ByRef error As HistorianAccessError _
) As Boolean
'Usage
Dim instance As HistorianAccess
Dim timeZoneName As TimeZoneInfo
Dim error As HistorianAccessError
Dim value As Boolean
value = instance.GetSystemTimeZoneInfo(timeZoneName, error)
public bool GetSystemTimeZoneInfo(
out TimeZoneInfo timeZoneName,
out HistorianAccessError error
)
public:
bool GetSystemTimeZoneInfo(
[Out] TimeZoneInfo^ timeZoneName,
[Out] HistorianAccessError^ error
)
Parameters
- timeZoneName
- The current time zone name from the Historian Server.
- error
- The object of HistorianAccessError, which contains any error information.
Return Value
Returns True if successful; otherwise, returns False.