ChangesetUri Constructor (TeamFoundationServer, Int32, UriType)
Note: This API is now obsolete.
Construct a Changeset URI object given a Team Foundation Server object and a changeset.
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, _
changeset 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 ChangesetUri(
TeamFoundationServer teamFoundationServer,
int changeset,
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:
ChangesetUri(
TeamFoundationServer^ teamFoundationServer,
int changeset,
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 *
changeset:int *
type:UriType -> ChangesetUri
public function ChangesetUri(
teamFoundationServer : TeamFoundationServer,
changeset : int,
type : UriType
)
Parameters
teamFoundationServer
Type: Microsoft.TeamFoundation.Client.TeamFoundationServerThe Team Foundation Server object.
changeset
Type: System.Int32The changeset for which an artifact should be constructed.
type
Type: Microsoft.TeamFoundation.VersionControl.Common.UriTypeIndicates whether the artifact should contain information from the checkin (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.