Share via


RepositoryExtensions.ResetCheckinDates Method

Resets the check-in dates of all changesets in the TPC to before the last date.

This will be used by the migration tools, and will only work on an "empty" TPC.

Empty means that only the following checkins could have occurred.

a. $/ b. Team Project Creation c. Team Project Creation + 1 changeset - for Build Definitions.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub ResetCheckinDates ( _
    lastCheckinDate As DateTime _
)
[WebMethodAttribute]
public void ResetCheckinDates(
    DateTime lastCheckinDate
)
[WebMethodAttribute]
public:
void ResetCheckinDates(
    DateTime lastCheckinDate
)
[<WebMethodAttribute>]
member ResetCheckinDates : 
        lastCheckinDate:DateTime -> unit
public function ResetCheckinDates(
    lastCheckinDate : DateTime
)

Parameters

  • lastCheckinDate
    Type: System.DateTime

    The date the last changeset in the TPC should be updated to.

.NET Framework Security

See Also

Reference

RepositoryExtensions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace