다음을 통해 공유


ShelvedItemUri Constructor (TeamFoundationServer, String, String, String, UriType)

Note: This API is now obsolete.

Construct a Versioned Item Uri object given a Team Foundation Server object, a server path, shelveset name and owner, 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, _
    shelvesetName As String, _
    shelvesetOwner As String, _
    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 ShelvedItemUri(
    TeamFoundationServer teamFoundationServer,
    string serverItem,
    string shelvesetName,
    string shelvesetOwner,
    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:
ShelvedItemUri(
    TeamFoundationServer^ teamFoundationServer, 
    String^ serverItem, 
    String^ shelvesetName, 
    String^ shelvesetOwner, 
    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 * 
        shelvesetName:string * 
        shelvesetOwner:string * 
        type:UriType -> ShelvedItemUri
public function ShelvedItemUri(
    teamFoundationServer : TeamFoundationServer, 
    serverItem : String, 
    shelvesetName : String, 
    shelvesetOwner : String, 
    type : UriType
)

Parameters

.NET Framework Security

See Also

Reference

ShelvedItemUri Class

ShelvedItemUri Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace