Property FromIndex
FromIndex
Gets or sets the index to use to start returning table names.
Declaration
public Nullable<int> FromIndex { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | Starting index to return table names. Cannot be a negative value. The default is 0 (start from the beginning of the list). |
Remarks
This property can be used to page table names over multiple calls to ListTablesAsync(ListTablesOptions, CancellationToken) in order to avoid returning a very large list in a single result. To page table names, set this value to 0 on the first call to ListTablesAsync(ListTablesOptions, CancellationToken) and on subsequent calls to NextIndex returned from the previous call. These operations are best done in a loop.
However, the recommended and more simple way to page table names is to use GetListTablesAsyncEnumerable in which case you need not use this property.