Get multiple records from a table.


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

Syntax

Visual Basic (Declaration)
Public Function recget( _ 
   ByVal tblName As String,  _ 
   ByVal recKeys As String(),  _ 
   ByVal l As NetricsLock _ 
) As NetricsRecord() _
    Implements INetricsServerInterface.recget
C#
public NetricsRecord[] recget(
   string tblName,
   string[] recKeys,
   NetricsLock l
)
C++
public:
 array<NetricsRecord>^ recget(
   String tblName,
   array<String>^ recKeys,
   NetricsLock l
) sealed 
J#
public NetricsRecord[] recget(
   string tblName,
   string[] recKeys,
   NetricsLock l
)
JScript
public  function recget(
   tblName : String,
   recKeys : String[],
   l : NetricsLock
) : NetricsRecord[]

Parameters

tblName
The name of the table to get the records from
recKeys
The record keys of the records to get
l
NetricsLock object which will pass the lock key to the table. If the table is locked with a lock key and this parameter is not passed with the matchine key, the operation will fail.

Return Value

An array of NetricsRecords, one per record requested

Implements

INetricsServerInterface.recget

Exceptions

Exception TypeCondition
NetricsExceptionIf the server indicates that an error has occured (Possible errors - TBLLOCKED, TBLNOTFOUND, DUPRECKEYS, EXPECTTBLDESC, EXPECTLIST, EXPECTRECKEY, NOTBLDESC, NORECKEY, RECNOTFOUND, UPDPARAM)

Remarks

This method should typically be used instead of performing multiple single record "gets" for performance reasons.

See Also