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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅 通过部分受信任的代码使用库。