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
teamFoundationServer
Type: Microsoft.TeamFoundation.Client.TeamFoundationServerThe Team Foundation Server object.
serverItem
Type: System.StringThe server path of the item.
changeset
Type: System.Int32The changeset for which an artifact should be constructed.
deletionId
Type: System.Int32The deletion ID of the object.
.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.