IProfileService.SetPublicAlias Method
Updates the public alias for the given profile.
Namespace: Microsoft.VisualStudio.Services.Profile
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function SetPublicAlias ( _
requestContext As TeamFoundationRequestContext, _
id As Guid, _
value As String _
) As Integer
int SetPublicAlias(
TeamFoundationRequestContext requestContext,
Guid id,
string value
)
int SetPublicAlias(
TeamFoundationRequestContext^ requestContext,
Guid id,
String^ value
)
abstract SetPublicAlias :
requestContext:TeamFoundationRequestContext *
id:Guid *
value:string -> int
function SetPublicAlias(
requestContext : TeamFoundationRequestContext,
id : Guid,
value : String
) : int
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- id
Type: System.Guid
- value
Type: System.String
Return Value
Type: System.Int32
The revision of the updated public alias
.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.