Verastream Host Integrator .Net Reference

HostIntegratorSession.UpdateRecordByIndex Method (DataSet, Int32)

Changes the values of a record in the current recordset. The record to change is determined by the specified index number.

[Visual Basic]
Overloads Public Function UpdateRecordByIndex( _
   ByVal record As DataSet, _
   ByVal index As Integer _
) As Boolean
[C#]
public bool UpdateRecordByIndex(
   DataSet record,
   int index
);

Parameters

record
Specifes one or more name-value pairs for the record elements to be updated.
index
Specifies the index of the record to update.

Return Value

This method returns True if the Host Integrator server is able to perform the record update, or False otherwise.

Remarks

Changes the values of a record in the current recordset. The record to change is determined by the specified index number.

Exceptions

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

See Also

HostIntegratorSession Class | HostIntegratorSession Members | WRQ.Verastream.HostIntegrator Namespace | HostIntegratorSession.UpdateRecordByIndex Overload List