GitModelExtensions.GetCommitUrl Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Shared Function GetCommitUrl ( _
baseUrl As String, _
commit As TfsGitCommit _
) As String
public static string GetCommitUrl(
string baseUrl,
TfsGitCommit commit
)
public:
static String^ GetCommitUrl(
String^ baseUrl,
TfsGitCommit^ commit
)
static member GetCommitUrl :
baseUrl:string *
commit:TfsGitCommit -> string
public static function GetCommitUrl(
baseUrl : String,
commit : TfsGitCommit
) : String
Parameters
- baseUrl
Type: System.String
- commit
Type: Microsoft.TeamFoundation.Git.Server.TfsGitCommit
Return Value
Type: System.String
.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.