Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
StreamBaseClient..::ReadTable Method (String, Int32)

Return rows from a Query Table. No guarantees are made regarding the order of rows returned.

Namespace: StreamBase.SB.Client
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public IList<Tuple> ReadTable(
    	string tablePath,
    	int rowLimit
    )

    Public Function ReadTable ( _
    	tablePath As String, _
    	rowLimit As Integer _
    ) As IList(Of Tuple)

    public:
    IList<Tuple^>^ ReadTable(
    	String^ tablePath,
    	int rowLimit
    )

#### Parameters

tablePath
  String
  Path to the table. A fully qualified path is a dot-separated string optionally starting with a container name (when omitted, the container specified by this client's URI is used), followed by zero or more module reference names, and finally the table or window name. For example,
  CopyC#

      default.ModuleRef1.DataTable

  is a valid fully qualified path, where
  CopyC#

      default.

  may be omitted when this client is connected to the default container.

rowLimit
  Int32
  Limit on number of rows to return, or -1 for all rows.

#### Return Value

A list of rows from the table.

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..StreamBaseException | If the connection is not valid or the server cannot be contacted, or the table does not exist, or the predicate is faulty.

# See Also

StreamBaseClient Class
ReadTable Overload
StreamBase.SB.Client Namespace