This topic has not yet been rated - Rate this topic

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: Uri

A valid TFS artifact URI.

Return Value

Type: Uri
A viewer URL for a TFS artifact.

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.