ibi Patterns - Search 6.0.0 .NET API |
NetricsServerInterface.doRecOps Method (String, Boolean, NetricsRecOp[]) |
See AlsoExample |
![]() ![]() |
Perform a mixed set of record updates.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function doRecOps( _ ByVal table_name As String, _ ByVal do_max_work As Boolean, _ ByVal ParamArray rec_ops As NetricsRecOp() _ ) As NetricsTableStats |
C# |
---|
public NetricsTableStats doRecOps( string table_name, bool do_max_work, params NetricsRecOp[] rec_ops ) |
C++ |
---|
public: NetricsTableStats doRecOps( String table_name, bool do_max_work, ... array<NetricsRecOp>^ rec_ops ) sealed |
J# |
---|
public NetricsTableStats doRecOps( string table_name, bool do_max_work, NetricsRecOp[] rec_ops ) |
JScript |
---|
public
function doRecOps( table_name : String, do_max_work : bool, ParamArrayAttribute rec_ops : NetricsRecOp[] ) : NetricsTableStats |
Parameters
- table_name
- The name of the ibi™ Patterns - Search table holding the records.
- do_max_work
- If true record key and record format errors are quietly ignored.
- rec_ops
- An array or list of record operations.
Remarks
This method performs a set of record update operations. The operations to perform are defined by an array of NetricsRecOp objects. The operations are performed in the order they are given. Record operations performed earlier in the array are seen by later operations in the array. For example if a new record is added, a delete that follows it will delete the added record instead of failing. All operations are committed or rolled back as a unit.