Note: This API is now obsolete.
See overload
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 _
)
[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
)
[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
)
[<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 -> ShelvedItemUri
public function ShelvedItemUri(
    teamFoundationServer : TeamFoundationServer, 
    serverItem : String, 
    shelvesetName : String, 
    shelvesetOwner : String
)
Parameters
- teamFoundationServer
 Type: Microsoft.TeamFoundation.Client.TeamFoundationServer
- serverItem
 Type: System.String
- shelvesetName
 Type: System.String
- shelvesetOwner
 Type: System.String
.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.