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)
Syntax
'Declaration
Public Function GetArtifactViewerUrl ( _
artifactUri As Uri _
) As Uri
public Uri GetArtifactViewerUrl(
Uri artifactUri
)
public:
Uri^ GetArtifactViewerUrl(
Uri^ artifactUri
)
member GetArtifactViewerUrl :
artifactUri:Uri -> Uri
public function GetArtifactViewerUrl(
artifactUri : Uri
) : Uri
Parameters
artifactUri
Type: System.UriA valid TFS artifact URI.
Return Value
Type: System.Uri
A viewer URL for a TFS artifact.
Remarks
Valid artifact types are Project, WorkItem, Query, VersionedItem, LatestItemVersion, Changeset, Shelveset, ShelvedItem and Build.
.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.