Delen via


IProfileService.SetCountryName Method

Updates the country name for the given profile.

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

Syntax

'Declaration
Function SetCountryName ( _
    requestContext As TeamFoundationRequestContext, _
    id As Guid, _
    value As String _
) As Integer
int SetCountryName(
    TeamFoundationRequestContext requestContext,
    Guid id,
    string value
)
int SetCountryName(
    TeamFoundationRequestContext^ requestContext, 
    Guid id, 
    String^ value
)
abstract SetCountryName : 
        requestContext:TeamFoundationRequestContext * 
        id:Guid * 
        value:string -> int
function SetCountryName(
    requestContext : TeamFoundationRequestContext, 
    id : Guid, 
    value : String
) : int

Parameters

Return Value

Type: System.Int32
The revision of the updated country name

.NET Framework Security

See Also

Reference

IProfileService Interface

Microsoft.VisualStudio.Services.Profile Namespace