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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。