Replace a single existing record in a table.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function recreplace( _ ByVal tblName As String, _ ByVal rec As NetricsRecord _ ) As NetricsTableStats _ Implements INetricsServerInterface.recreplace |
C# |
---|
public NetricsTableStats recreplace( string tblName, NetricsRecord rec ) |
C++ |
---|
public: NetricsTableStats recreplace( String tblName, NetricsRecord rec ) sealed |
J# |
---|
public NetricsTableStats recreplace( string tblName, NetricsRecord rec ) |
JScript |
---|
public
function recreplace( tblName : String, rec : NetricsRecord ) : NetricsTableStats |
Parameters
- tblName
- The name of the table containing the record being replaced
- rec
- The new record. The value of its record key should be the record key of the record being replaced
Return Value
The stats for the table after the record has been replaced
Implements
INetricsServerInterface.recreplace
Exceptions
Exception Type | Condition |
---|---|
NetricsException | If the server indicates that an error has occured |