GetLatestChangesetId Method
Collapse the table of content
Expand the table of content

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)

public 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.

© 2015 Microsoft