TeamFoundationVersionControlService.ResetCheckinDates Method
Resets the checkin 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
Public Sub ResetCheckinDates ( _
requestContext As TeamFoundationRequestContext, _
lastCheckinDate As DateTime _
)
public void ResetCheckinDates(
TeamFoundationRequestContext requestContext,
DateTime lastCheckinDate
)
public:
void ResetCheckinDates(
TeamFoundationRequestContext^ requestContext,
DateTime lastCheckinDate
)
member ResetCheckinDates :
requestContext:TeamFoundationRequestContext *
lastCheckinDate:DateTime -> unit
public function ResetCheckinDates(
requestContext : TeamFoundationRequestContext,
lastCheckinDate : DateTime
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
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.