ibi Patterns - Search 6.0.0 .NET API |
NetricsServerInterface.recupdate Method (String, NetricsTableRecSrc, Boolean) |
See AlsoExample |
![]() ![]() |
Update records in a table.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function recupdate( _ ByVal tblName As String, _ ByVal src As NetricsTableRecSrc, _ ByVal doMaxWork As Boolean _ ) As NetricsTableStats |
C# |
---|
public NetricsTableStats recupdate( string tblName, NetricsTableRecSrc src, bool doMaxWork ) |
C++ |
---|
public: NetricsTableStats recupdate( String tblName, NetricsTableRecSrc src, bool doMaxWork ) sealed |
J# |
---|
public NetricsTableStats recupdate( string tblName, NetricsTableRecSrc src, bool doMaxWork ) |
JScript |
---|
public
function recupdate( tblName : String, src : NetricsTableRecSrc, doMaxWork : bool ) : NetricsTableStats |
Parameters
- tblName
- The name of the table to be updated.
- src
- Provides the records to be updated.
- doMaxWork
- Continue on error - ignore records with errors and continue processing.
Return Value
The stats for the table after the operation is completed.
Exceptions
Exception Type | Condition |
---|---|
NetricsException | If the server indicates that an error has occured (Possible errors - TBLNOTFOUND, DUPRECKEYS, EXPECTTBLDESC, EXPECTLIST, EXPECTRECORD, FIELDLENSUM, NOTBLDESC, NORECKEY, NOSRCHTXT, NUMFIELDS, RECNOTFOUND, UPDPARAM, SHUTDOWN) |
Remarks
This will add each of the records from the source to the named table if the do not already exist, or update them if they do exist.