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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- jobId
Type: System.Guid
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.