Update a single existing record in a table.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Function recupdate( _ 
   ByVal tblName As String,  _ 
   ByVal rec As NetricsRecord _ 
) As NetricsTableStats _
    Implements INetricsServerInterface.recupdate
C#
public NetricsTableStats recupdate(
   string tblName,
   NetricsRecord rec
)
C++
public:
 NetricsTableStats recupdate(
   String tblName,
   NetricsRecord rec
) sealed 
J#
public NetricsTableStats recupdate(
   string tblName,
   NetricsRecord rec
)
JScript
public  function recupdate(
   tblName : String,
   rec : NetricsRecord
) : NetricsTableStats

Parameters

tblName
The name of the table containing the record to be updated.
rec
The new record.

Return Value

The stats for the table after the operation is completed.

Implements

INetricsServerInterface.recupdate

Exceptions

Exception TypeCondition
NetricsExceptionIf the server indicates that an error has occured

Remarks

Add the record if it doesn't exist, replace it if it does.

See Also