This documentation is archived and is not being maintained.

TswaHyperlinkBuilder::GetArtifactViewerUrl Method (Uri)

Gets a viewer URL for a TFS artifact.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
Uri^ GetArtifactViewerUrl(
	Uri^ artifactUri
)

Parameters

artifactUri
Type: System::Uri

A valid TFS artifact URI.

Return Value

Type: System::Uri
A viewer URL for a TFS artifact.

Valid artifact types are Project, WorkItem, Query, VersionedItem, LatestItemVersion, Changeset, Shelveset, ShelvedItem and Build.

Show: