This documentation is archived and is not being maintained.

VersionControlServer::GetLatestChangesetId Method

Gets the Changeset ID for the latest Changeset in the repository.

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

int GetLatestChangesetId()

Return Value

Type: System::Int32
The latest ChangesetID.

Call GetChangeset() with the result of this method to get the Changeset object with the details, if needed.