다음을 통해 공유


LabelUri Constructor (TeamFoundationServer, Int32)

Note: This API is now obsolete.

Construct a Label Uri object given a Team Foundation Server Url, and label identifier.

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, _
    labelId As Integer _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public LabelUri(
    TeamFoundationServer teamFoundationServer,
    int labelId
)
[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:
LabelUri(
    TeamFoundationServer^ teamFoundationServer, 
    int labelId
)
[<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 * 
        labelId:int -> LabelUri
public function LabelUri(
    teamFoundationServer : TeamFoundationServer, 
    labelId : int
)

Parameters

  • labelId
    Type: System.Int32

    The label identifier associated with the artifact

.NET Framework Security

See Also

Reference

LabelUri Class

LabelUri Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace