Share via


TeamFoundationVersionControlService.GetLatestChangeset Method

Retrieves the changeset number for the latest changeset in the repository.

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

Syntax

'Declaration
Public Function GetLatestChangeset ( _
    requestContext As TeamFoundationRequestContext _
) As Integer
public int GetLatestChangeset(
    TeamFoundationRequestContext requestContext
)
public:
int GetLatestChangeset(
    TeamFoundationRequestContext^ requestContext
)
member GetLatestChangeset : 
        requestContext:TeamFoundationRequestContext -> int
public function GetLatestChangeset(
    requestContext : TeamFoundationRequestContext
) : int

Parameters

Return Value

Type: System.Int32
The latest changeset in the repository.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace