This documentation is archived and is not being maintained.
TswaHyperlinkBuilder::GetHistorySourceControlItemUrl Method (String, String)
Visual Studio 2013
Gets history viewer URL for a source control item.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
public:
Uri^ GetHistorySourceControlItemUrl(
String^ serverItemPath,
String^ versionSpec
)
Parameters
- serverItemPath
- Type: System::String
A server item path.
- versionSpec
- Type: System::String
Server item version specification.
versionSpec can be one of the following:
Empty | null
Latest version integer less than 1
Latest version integer greater than or equal to 1
Changeset number C{changesetNumber}, L{Label}, D{Date} T
Latest version T{VersionSpec}
Tip version of the item at the version specified by VersionSpec
P{VersionSpec} - Previous version of the item at the version specified by VersionSpec.
- 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.
Show: