Share via


TfsConnection.TimeZone 屬性

取得或設定此 Team Foundation Server 連接的時區。

用於將日期和時間轉換為 UTC。

命名空間:  Microsoft.TeamFoundation.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Public Property TimeZone As TimeZone
public TimeZone TimeZone { get; set; }

屬性值

類型:System.TimeZone
傳回 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 安全性

請參閱

參考

TfsConnection 類別

Microsoft.TeamFoundation.Client 命名空間