Delen via


ShelvesetUri Constructor (TfsTeamProjectCollection, String, String, UriType)

Construct a Shelveset URI object given a Team Foundation project collection object and a shelveset name and owner.

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, _
    shelvesetName As String, _
    shelvesetOwner As String, _
    type As UriType _
)
public ShelvesetUri(
    TfsTeamProjectCollection teamProjectCollection,
    string shelvesetName,
    string shelvesetOwner,
    UriType type
)
public:
ShelvesetUri(
    TfsTeamProjectCollection^ teamProjectCollection, 
    String^ shelvesetName, 
    String^ shelvesetOwner, 
    UriType type
)
new : 
        teamProjectCollection:TfsTeamProjectCollection * 
        shelvesetName:string * 
        shelvesetOwner:string * 
        type:UriType -> ShelvesetUri
public function ShelvesetUri(
    teamProjectCollection : TfsTeamProjectCollection, 
    shelvesetName : String, 
    shelvesetOwner : String, 
    type : UriType
)

Parameters

  • shelvesetName
    Type: System.String

    The name of the shelveset for which an artifact should be constructed.

.NET Framework Security

See Also

Reference

ShelvesetUri Class

ShelvesetUri Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace