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.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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.Server.Core Namespace