Share via


TeamFoundationJobReportingService.GetJobName Method

Get the job name given the job id. This will work for the well-known job guids; if the job is not well-known, it will return the guid.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetJobName ( _
    requestContext As TeamFoundationRequestContext, _
    jobId As Guid _
) As String
public string GetJobName(
    TeamFoundationRequestContext requestContext,
    Guid jobId
)
public:
String^ GetJobName(
    TeamFoundationRequestContext^ requestContext, 
    Guid jobId
)
member GetJobName : 
        requestContext:TeamFoundationRequestContext * 
        jobId:Guid -> string
public function GetJobName(
    requestContext : TeamFoundationRequestContext, 
    jobId : Guid
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

TeamFoundationJobReportingService Class

Microsoft.TeamFoundation.Framework.Server Namespace