TeamFoundationJobService.QueryJobDefinition Method
Retrieve a single job definition for the specified jobId
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryJobDefinition ( _
requestContext As TeamFoundationRequestContext, _
jobId As Guid _
) As TeamFoundationJobDefinition
public TeamFoundationJobDefinition QueryJobDefinition(
TeamFoundationRequestContext requestContext,
Guid jobId
)
public:
TeamFoundationJobDefinition^ QueryJobDefinition(
TeamFoundationRequestContext^ requestContext,
Guid jobId
)
member QueryJobDefinition :
requestContext:TeamFoundationRequestContext *
jobId:Guid -> TeamFoundationJobDefinition
public function QueryJobDefinition(
requestContext : TeamFoundationRequestContext,
jobId : Guid
) : TeamFoundationJobDefinition
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequestContextBase used for the call.
jobId
Type: System.GuidJobId for the job definition to retrieve
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationJobDefinition
Returns the job definition if it exists. Otherwise returns null.
.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.