編輯

共用方式為


LinkQueryMode enum

The link query mode which determines the behavior of the query.

Fields

WorkItems = 0

Returns flat list of work items.

LinksOneHopMustContain = 1

Returns work items where the source, target, and link criteria are all satisfied.

LinksOneHopMayContain = 2

Returns work items that satisfy the source and link criteria, even if no linked work item satisfies the target criteria.

LinksOneHopDoesNotContain = 3

Returns work items that satisfy the source, only if no linked work item satisfies the link and target criteria.

LinksRecursiveMustContain = 4
LinksRecursiveMayContain = 5

Returns work items a hierarchy of work items that by default satisfy the source

LinksRecursiveDoesNotContain = 6