共用方式為


ITeamFoundationIdentityService.SetPreferredEmailAddress Method

Set the preferred email address current user.

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

Syntax

'Declaration
Sub SetPreferredEmailAddress ( _
    requestContext As TeamFoundationRequestContext, _
    preferredEmailAddress As String _
)
void SetPreferredEmailAddress(
    TeamFoundationRequestContext requestContext,
    string preferredEmailAddress
)
void SetPreferredEmailAddress(
    TeamFoundationRequestContext^ requestContext, 
    String^ preferredEmailAddress
)
abstract SetPreferredEmailAddress : 
        requestContext:TeamFoundationRequestContext * 
        preferredEmailAddress:string -> unit
function SetPreferredEmailAddress(
    requestContext : TeamFoundationRequestContext, 
    preferredEmailAddress : String
)

Parameters

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

Microsoft.TeamFoundation.Server.Core Namespace