共用方式為


TeamFoundationVersionControlService.UpdateCheckinNoteFieldName Method

Rename all instances of the specified checkin note field to the new specified name for the given team project folder.

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

Syntax

'Declaration
Public Sub UpdateCheckinNoteFieldName ( _
    requestContext As TeamFoundationRequestContext, _
    path As String, _
    existingFieldName As String, _
    newFieldName As String _
)
public void UpdateCheckinNoteFieldName(
    TeamFoundationRequestContext requestContext,
    string path,
    string existingFieldName,
    string newFieldName
)
public:
void UpdateCheckinNoteFieldName(
    TeamFoundationRequestContext^ requestContext, 
    String^ path, 
    String^ existingFieldName, 
    String^ newFieldName
)
member UpdateCheckinNoteFieldName : 
        requestContext:TeamFoundationRequestContext * 
        path:string * 
        existingFieldName:string * 
        newFieldName:string -> unit
public function UpdateCheckinNoteFieldName(
    requestContext : TeamFoundationRequestContext, 
    path : String, 
    existingFieldName : String, 
    newFieldName : String
)

Parameters

  • existingFieldName
    Type: System.String

    Old checkin note field name.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace