An NDoc Documented Class Library

HostIntegratorSession.FetchRecords Method (Int32)

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

public virtual DataSet FetchRecords(
   int maxRows
);

Parameters

maxRows
Specifies the maximum number of rows of data to be returned. If maxRows is set to 0, no limit is imposed on the number of rows returned.

Return Value

This method returns a DataSet containing the requested records.

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
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