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
teamFoundationServer
Type: Microsoft.TeamFoundation.Client.TeamFoundationServerThe Team Foundation Server object
serverItem
Type: System.StringThe server path of the item
- 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.