Verastream Host Integrator .Net Reference

HostIntegratorSession.FetchRecords Method (IList)

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

[Visual Basic]
Overloads Public Function FetchRecords( _
   ByVal fieldNames As IList _
) As DataSet
public DataSet FetchRecords(
   IList 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.


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.


Exception TypeCondition
HostIntegratorConnectorExceptionThrown when client is not connected
HostIntegratorTerminalExceptionThrown if there is an execution error
HostIntegratorModelDataExceptionThrown 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 | HostIntegratorSession Members | WRQ.Verastream.HostIntegrator Namespace | HostIntegratorSession.FetchRecords Overload List