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)

Syntax

'Declaration
Public Property TimeZone As TimeZone
public TimeZone TimeZone { get; set; }
public:
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.

Remarks

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

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace