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
teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe Team Foundation project collection object.
shelvesetName
Type: System.StringThe name of the shelveset for which an artifact should be constructed.
shelvesetOwner
Type: System.StringThe owner of the shelveset.
type
Type: Microsoft.TeamFoundation.VersionControl.Common.UriTypeIndicates whether the artifact should contain information from the shelveset (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.