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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: System.Int32
The latest changeset in the repository.
.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.