Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Set current user's timezone preference
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetUserTimeZone ( _
requestContext As TeamFoundationRequestContext, _
timeZone As TimeZoneInfo _
)
public void SetUserTimeZone(
TeamFoundationRequestContext requestContext,
TimeZoneInfo timeZone
)
public:
virtual void SetUserTimeZone(
TeamFoundationRequestContext^ requestContext,
TimeZoneInfo^ timeZone
) sealed
abstract SetUserTimeZone :
requestContext:TeamFoundationRequestContext *
timeZone:TimeZoneInfo -> unit
override SetUserTimeZone :
requestContext:TeamFoundationRequestContext *
timeZone:TimeZoneInfo -> unit
public final function SetUserTimeZone(
requestContext : TeamFoundationRequestContext,
timeZone : TimeZoneInfo
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- timeZone
Type: System.TimeZoneInfo
Implements
ITeamFoundationProfileService.SetUserTimeZone(TeamFoundationRequestContext, TimeZoneInfo)
.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.