An NDoc Documented Class Library

HostIntegratorSession.FetchRecords Method (IList)

Fetches data from the Host Integrator server for the current recordset of the current entity.

public virtual DataSet FetchRecords(
   IList fieldNames
);

Parameters

fieldNames
Specifies field names to fetch from the recordset.

Return Value

This method returns a DataSet containing the requested records. If no fields match the fieldNames provided, an empty DataSet is returned.

Remarks

The set of records returned begins with the first record following the current record. If the current record is before the first record in the recordset, searching starts with the first record. After a FetchRecords, the current record is the last record included in the returned set of records.

Exceptions

Exception TypeCondition
HostIntegratorConnectorExceptionThrown when client is not connected
HostIntegratorTerminalExceptionThrown if there is an execution error
HostIntegratorModelDefExceptionThrown if a reference is made to nonexistent fields
HostIntegratorExceptionThrown if the connection is for metadata only
HostIntegratorModelDefExceptionThrown if there is no current recordset

See Also

HostIntegratorSession Class | WRQ.Verastream.HostIntegrator Namespace | HostIntegratorSession.FetchRecords Overload List