Partager via


Query.RunRegularQuery Method

Executes a query that gets an array of WorkItem IDs that satisfy the query.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Function RunRegularQuery As Integer()
public int[] RunRegularQuery()
public:
array<int>^ RunRegularQuery()
member RunRegularQuery : unit -> int[] 
public function RunRegularQuery() : int[]

Return Value

Type: array<System.Int32[]
An array of WorkItem IDs that satisfy the query.

Remarks

A regular query must first be initialized by using the Query.BeginRegularQuery() method.

.NET Framework Security

See Also

Reference

Query Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace