LabelUri Constructor (TfsTeamProjectCollection, Int32)
Construct a Label Uri object given a Team Foundation project collection object, and label identifier.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common.Integration (in Microsoft.TeamFoundation.VersionControl.Common.Integration.dll)
Syntax
'Declaration
Public Sub New ( _
teamProjectCollection As TfsTeamProjectCollection, _
labelId As Integer _
)
public LabelUri(
TfsTeamProjectCollection teamProjectCollection,
int labelId
)
public:
LabelUri(
TfsTeamProjectCollection^ teamProjectCollection,
int labelId
)
new :
teamProjectCollection:TfsTeamProjectCollection *
labelId:int -> LabelUri
public function LabelUri(
teamProjectCollection : TfsTeamProjectCollection,
labelId : int
)
Parameters
teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe Team Foundation Server object
labelId
Type: System.Int32The label identifier associated with the artifact
.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.