VersionSpec.ToChangeset Method

Translates this version spec into a changeset number for the given item spec.

If the version specifier cannot be represented as a changeset, returns UnknownChangeset.

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

Syntax

'Declaration
Public Overridable Function ToChangeset ( _
    requestContext As TeamFoundationRequestContext _
) As Integer
public virtual int ToChangeset(
    TeamFoundationRequestContext requestContext
)
public:
virtual int ToChangeset(
    TeamFoundationRequestContext^ requestContext
)
abstract ToChangeset : 
        requestContext:TeamFoundationRequestContext -> int  
override ToChangeset : 
        requestContext:TeamFoundationRequestContext -> int
public function ToChangeset(
    requestContext : TeamFoundationRequestContext
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

VersionSpec Class

Microsoft.TeamFoundation.VersionControl.Server Namespace