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
'Declaração
Public Property TimeZone As TimeZone
Get
Set
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 machine.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.