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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: System.Int32
.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.