Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function RenameToken ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    existingToken As String, _
    newToken As String, _
    copy As Boolean _
) As Boolean
public virtual bool RenameToken(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string existingToken,
    string newToken,
    bool copy
)
public:
virtual bool RenameToken(
    TeamFoundationRequestContext^ requestContext, 
    NotificationType notificationType, 
    String^ existingToken, 
    String^ newToken, 
    bool copy
)
abstract RenameToken : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        existingToken:string * 
        newToken:string * 
        copy:bool -> bool  
override RenameToken : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        existingToken:string * 
        newToken:string * 
        copy:bool -> bool
public function RenameToken(
    requestContext : TeamFoundationRequestContext, 
    notificationType : NotificationType, 
    existingToken : String, 
    newToken : String, 
    copy : boolean
) : boolean
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- notificationType
 Type: Microsoft.TeamFoundation.Framework.Server.NotificationType
- existingToken
 Type: System.String
- newToken
 Type: System.String
- copy
 Type: System.Boolean
Return Value
Type: System.Boolean
Returns Boolean.
.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.