VersionControlIntegrationUri Constructor (TeamFoundationServer, ArtifactType, String)
Note: This API is now obsolete.
Construct an VersionControlIntegrationUri object given a TeamFoundationServer object, type and artifact name
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, _
artifactType As ArtifactType, _
artifactName As String _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public VersionControlIntegrationUri(
TeamFoundationServer teamFoundationServer,
ArtifactType artifactType,
string artifactName
)
[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:
VersionControlIntegrationUri(
TeamFoundationServer^ teamFoundationServer,
ArtifactType artifactType,
String^ artifactName
)
[<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 *
artifactType:ArtifactType *
artifactName:string -> VersionControlIntegrationUri
public function VersionControlIntegrationUri(
teamFoundationServer : TeamFoundationServer,
artifactType : ArtifactType,
artifactName : String
)
Parameters
teamFoundationServer
Type: Microsoft.TeamFoundation.Client.TeamFoundationServerA valid TeamFoundationServer object
artifactType
Type: Microsoft.TeamFoundation.VersionControl.Common.ArtifactTypeThe type of artifact to create
artifactName
Type: System.StringThe name of 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.
See Also
Reference
VersionControlIntegrationUri Class