SfcObjectQuery.ExecuteIterator(SfcQueryExpression, String[], OrderBy[]) SfcObjectQuery.ExecuteIterator(SfcQueryExpression, String[], OrderBy[]) SfcObjectQuery.ExecuteIterator(SfcQueryExpression, String[], OrderBy[]) Method

Definition

Executes the query string and return a SfcObjectIterator to enumerate the results without caching them. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

public:
 System::Collections::IEnumerable ^ ExecuteIterator(Microsoft::SqlServer::Management::Sdk::Sfc::SfcQueryExpression ^ query, cli::array <System::String ^> ^ fields, cli::array <Microsoft::SqlServer::Management::Sdk::Sfc::OrderBy ^> ^ orderByFields);
public System.Collections.IEnumerable ExecuteIterator (Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression query, string[] fields, Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy[] orderByFields);
Public Function ExecuteIterator (query As SfcQueryExpression, fields As String(), orderByFields As OrderBy()) As IEnumerable
Parameters
query
SfcQueryExpression SfcQueryExpression SfcQueryExpression

The query string to process.

fields
String[]

The field names to retrieve. If null, all default inexpensive fields are retrieved.

orderByFields
OrderBy[]

The field names that we need to order on. If null, no order will be used.

Returns

A SfcObjectIterator to enumerate the results.

Applies to