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
- 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.