Freigeben über


VersionedItemUri Constructor (TeamFoundationServer, String, Int32, Int32, UriType)

Note: This API is now obsolete.

Constructs a Versioned Item URI object given a Team Foundation Server object, a server path, changeset, and deletion id and whether the URI will be for a Web view.

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, _
    serverItem As String, _
    changeset As Integer, _
    deletionId As Integer, _
    type As UriType _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public VersionedItemUri(
    TeamFoundationServer teamFoundationServer,
    string serverItem,
    int changeset,
    int deletionId,
    UriType type
)
[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:
VersionedItemUri(
    TeamFoundationServer^ teamFoundationServer, 
    String^ serverItem, 
    int changeset, 
    int deletionId, 
    UriType type
)
[<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 * 
        serverItem:string * 
        changeset:int * 
        deletionId:int * 
        type:UriType -> VersionedItemUri
public function VersionedItemUri(
    teamFoundationServer : TeamFoundationServer, 
    serverItem : String, 
    changeset : int, 
    deletionId : int, 
    type : UriType
)

Parameters

  • changeset
    Type: System.Int32

    The changeset for which an artifact should be constructed.

  • deletionId
    Type: System.Int32

    The deletion ID of the object.

.NET Framework Security

See Also

Reference

VersionedItemUri Class

VersionedItemUri Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace