Note: This API is now obsolete.
Construct a Shelveset URI object given a Team Foundation Server object and a shelveset name and owner.
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, _
    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 ShelvesetUri(
    TeamFoundationServer teamFoundationServer,
    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:
ShelvesetUri(
    TeamFoundationServer^ teamFoundationServer, 
    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 * 
        shelvesetName:string * 
        shelvesetOwner:string * 
        type:UriType -> ShelvesetUri
public function ShelvesetUri(
    teamFoundationServer : TeamFoundationServer, 
    shelvesetName : String, 
    shelvesetOwner : String, 
    type : UriType
)
Parameters
- teamFoundationServer 
 Type: Microsoft.TeamFoundation.Client.TeamFoundationServer- The Team Foundation Server object 
- shelvesetName 
 Type: System.String- The name of the shelveset for which an artifact should be constructed. 
- shelvesetOwner 
 Type: System.String- The owner of the shelveset. 
- type 
 Type: Microsoft.TeamFoundation.VersionControl.Common.UriType- Indicates whether the artifact should contain information from the shelveset (e.g., include work item associations, checkin notes, etc.) 
.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.