Partager via


Repository.UpdateChangeset Method

UpdateChangeset is used to update the comment and referenced checkin note with for a changeset.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub UpdateChangeset ( _
    changeset As Integer, _
    comment As String, _
    checkinNote As CheckinNote _
)
[WebMethodAttribute]
public void UpdateChangeset(
    int changeset,
    string comment,
    CheckinNote checkinNote
)
[WebMethodAttribute]
public:
void UpdateChangeset(
    int changeset, 
    String^ comment, 
    CheckinNote^ checkinNote
)
[<WebMethodAttribute>]
member UpdateChangeset : 
        changeset:int * 
        comment:string * 
        checkinNote:CheckinNote -> unit
public function UpdateChangeset(
    changeset : int, 
    comment : String, 
    checkinNote : CheckinNote
)

Parameters

  • changeset
    Type: System.Int32

    This is the changeset Id from a previously created chanageset.

  • comment
    Type: System.String

    This is the comment for the changeset.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace