TfsConnection.TimeZone Property

Gets or sets the time zone of this Team Foundation Server connection.

Used to convert dates and times to UTC.

Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)


Public Property TimeZone As TimeZone
public TimeZone TimeZone { get; set; }
property TimeZone^ TimeZone {
    TimeZone^ get ();
    void set (TimeZone^ value);
member TimeZone : TimeZone with get, set
function get TimeZone () : TimeZone 
function set TimeZone (value : TimeZone)

Property Value

Type: System.TimeZone
Returns TimeZone.


TimeZone defaults to the time zone of the local computer.

It is used to convert dates and times to UTC. Used to synchronize time data between servers and clients in different time zones.

.NET Framework Security

See Also


TfsConnection Class

Microsoft.TeamFoundation.Client Namespace