VersionedItemUri Constructor (String, String, Int32, Int32, UriType)
Constructs a Versioned Item URI object given a Team Foundation Server URL, a server path, changeset, and deletion ID.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common.Integration (in Microsoft.TeamFoundation.VersionControl.Common.Integration.dll)
Syntax
'Declaration
Public Sub New ( _
teamFoundationServerUrl As String, _
serverItem As String, _
changeset As Integer, _
deletionId As Integer, _
type As UriType _
)
public VersionedItemUri(
string teamFoundationServerUrl,
string serverItem,
int changeset,
int deletionId,
UriType type
)
public:
VersionedItemUri(
String^ teamFoundationServerUrl,
String^ serverItem,
int changeset,
int deletionId,
UriType type
)
new :
teamFoundationServerUrl:string *
serverItem:string *
changeset:int *
deletionId:int *
type:UriType -> VersionedItemUri
public function VersionedItemUri(
teamFoundationServerUrl : String,
serverItem : String,
changeset : int,
deletionId : int,
type : UriType
)
Parameters
teamFoundationServerUrl
Type: System.StringThe URL of a Team Foundation server.
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.
type
Type: Microsoft.TeamFoundation.VersionControl.Common.UriTypeIndicates whether a "Web-view Uri should be created.
.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.