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.DateTimeThe date the last changeset in the TPC should be updated to.
.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.