Delen via


LatestItemVersionUri Constructor (TeamFoundationServer, Int32)

Note: This API is now obsolete.

Construct a Versioned Item Uri object given a Team Foundation Server Url, a server path, changeset, and deletion id.

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common.Integration (in Microsoft.TeamFoundation.VersionControl.Common.Integration.dll)

Syntax

'Declaration
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")> _
Public Sub New ( _
    teamFoundationServer As TeamFoundationServer, _
    itemId As Integer _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public LatestItemVersionUri(
    TeamFoundationServer teamFoundationServer,
    int itemId
)
[ObsoleteAttribute(L"The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public:
LatestItemVersionUri(
    TeamFoundationServer^ teamFoundationServer, 
    int itemId
)
[<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")>]
new : 
        teamFoundationServer:TeamFoundationServer * 
        itemId:int -> LatestItemVersionUri
public function LatestItemVersionUri(
    teamFoundationServer : TeamFoundationServer, 
    itemId : int
)

Parameters

  • itemId
    Type: System.Int32

    The item identifier associated with the artifact

.NET Framework Security

See Also

Reference

LatestItemVersionUri Class

LatestItemVersionUri Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace