Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets history viever URL for a source control item.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Function GetHistorySourceControlItemUrl ( _
serverItemPath As String, _
versionSpec As String, _
accessMappingMoniker As String _
) As Uri
public Uri GetHistorySourceControlItemUrl(
string serverItemPath,
string versionSpec,
string accessMappingMoniker
)
public:
Uri^ GetHistorySourceControlItemUrl(
String^ serverItemPath,
String^ versionSpec,
String^ accessMappingMoniker
)
member GetHistorySourceControlItemUrl :
serverItemPath:string *
versionSpec:string *
accessMappingMoniker:string -> Uri
public function GetHistorySourceControlItemUrl(
serverItemPath : String,
versionSpec : String,
accessMappingMoniker : String
) : Uri
Parameters
serverItemPath
Type: System.StringA server item path.
versionSpec
Type: System.StringServer item version specification.
accessMappingMoniker
Type: System.StringA moniker for the desired access mapping.
Return Value
Type: System.Uri
A history viewer URL for a source control item.
Remarks
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.
.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.