Interface IRecordSet
A table of data.
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
public interface IRecordSet
Remarks
A table of data. Rows, represented by IRecord objects, can be accessed by a zero-based index.
Properties
ColumnNames
Gets an immutable list of column names.
Declaration
IList<string> ColumnNames { get; }
Property Value
| Type | Description |
|---|---|
| IList<string> | an immutable list of column names. |
Count
Gets the number of records in the record set.
Declaration
int Count { get; }
Property Value
| Type | Description |
|---|---|
| int | the number of records |
Methods
GetRecord(int)
Gets a record by row number.
Declaration
IRecord GetRecord(int row)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | the zero-based row number |
Returns
| Type | Description |
|---|---|
| IRecord | the record for the specified row
|
ToXMLString()
Gets an XML string representation of the recordset.
Declaration
string ToXMLString()
Returns
| Type | Description |
|---|---|
| string | an XML string |