TeamFoundationProfileService.SetUserTimeZone Method
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:
void SetUserTimeZone(
TeamFoundationRequestContext^ requestContext,
TimeZoneInfo^ timeZone
)
member SetUserTimeZone :
requestContext:TeamFoundationRequestContext *
timeZone:TimeZoneInfo -> unit
public function SetUserTimeZone(
requestContext : TeamFoundationRequestContext,
timeZone : TimeZoneInfo
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- timeZone
Type: System.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.