Partager via


TeamFoundationProfileService.SetUserPreferences Method

Set current user's preferences.

If property of passed in user preferences is null/empty, that property will not be updated

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub SetUserPreferences ( _
    requestContext As TeamFoundationRequestContext, _
    userPreferences As UserPreferences, _
    merge As Boolean _
)
public void SetUserPreferences(
    TeamFoundationRequestContext requestContext,
    UserPreferences userPreferences,
    bool merge
)
public:
virtual void SetUserPreferences(
    TeamFoundationRequestContext^ requestContext, 
    UserPreferences^ userPreferences, 
    bool merge
) sealed
abstract SetUserPreferences : 
        requestContext:TeamFoundationRequestContext * 
        userPreferences:UserPreferences * 
        merge:bool -> unit  
override SetUserPreferences : 
        requestContext:TeamFoundationRequestContext * 
        userPreferences:UserPreferences * 
        merge:bool -> unit
public final function SetUserPreferences(
    requestContext : TeamFoundationRequestContext, 
    userPreferences : UserPreferences, 
    merge : boolean
)

Parameters

Implements

ITeamFoundationProfileService.SetUserPreferences(TeamFoundationRequestContext, UserPreferences, Boolean)

.NET Framework Security

See Also

Reference

TeamFoundationProfileService Class

Microsoft.TeamFoundation.Framework.Server Namespace