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)

Syntax

'Declaration
Public Function GetLatestChangesetId As Integer
public int GetLatestChangesetId()
public:
int GetLatestChangesetId()
member GetLatestChangesetId : unit -> int
public function GetLatestChangesetId() : int

Return Value

Type: System.Int32
The latest ChangesetID.

Remarks

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

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace