Language

IResourceStoreExtensions.GetJobResources Method

Definition

Extracts the full resources from the store which are referenced in the resources collection.

public static Microsoft.TeamFoundation.DistributedTask.Pipelines.JobResources GetJobResources(this Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore store, Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineResources resources);
static member GetJobResources : Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore * Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineResources -> Microsoft.TeamFoundation.DistributedTask.Pipelines.JobResources
<Extension()>
Public Function GetJobResources (store As IResourceStore, resources As PipelineResources) As JobResources

Parameters

store
IResourceStore

The store which contains the resources

resources
PipelineResources

The resources which should be included with the job

Returns

A new JobResources instance with the filtered set of resources from the store

Applies to