GetFileTablesAsync Method
Overloads
| GetFileTablesAsync(String, String, FileDataFormat) |
Lists the tables for a folder connection. FileTypeRecognized file formats are: * * * * * * * * * * * * |
|
| GetFileTablesAsync(AsyncHandle, String, String, FileDataFormat) |
Lists the tables for a folder connection. FileTypeRecognized file formats are: * * * * * * * * * * * * |
|
| GetFileTablesAsync<T>(AsyncHandle, Func<Response, T>, String, String, FileDataFormat) |
Lists the tables for a folder connection. FileTypeRecognized file formats are: * * * * * * * * * * * * |
GetFileTablesAsync(String, String, FileDataFormat)
Lists the tables for a folder connection.
FileType
Recognized file formats are:
- CSV for Delimited
- FIX for Fixed Record
- DIF for Data Interchange Format
- EXCEL_BIFF for Microsoft Excel (XLS)
- EXCEL_OOXML for Microsoft Excel (XLSX)
- HTML for HTML
- QVD for QVD file
- XML for XML
- QVX for QVX file
- JSON for JSON format
- KML for KML file
- PARQUET for PARQUET file
Declaration
public Task<IEnumerable<DataTable>> GetFileTablesAsync([QixName("qConnectionId")] string connectionId, [QixName("qRelativePath")] string relativePath = null, [QixName("qDataFormat")] FileDataFormat dataFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | connectionId |
Identifier of the connection. |
| System.String | relativePath |
Path of the connection file. |
| FileDataFormat | dataFormat |
Type of the file. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<DataTable>> |
Implements
GetFileTablesAsync(AsyncHandle, String, String, FileDataFormat)
Lists the tables for a folder connection.
FileType
Recognized file formats are:
- CSV for Delimited
- FIX for Fixed Record
- DIF for Data Interchange Format
- EXCEL_BIFF for Microsoft Excel (XLS)
- EXCEL_OOXML for Microsoft Excel (XLSX)
- HTML for HTML
- QVD for QVD file
- XML for XML
- QVX for QVX file
- JSON for JSON format
- KML for KML file
- PARQUET for PARQUET file
Declaration
public Task<IEnumerable<DataTable>> GetFileTablesAsync(AsyncHandle asyncHandle, [QixName("qConnectionId")] string connectionId, [QixName("qRelativePath")] string relativePath = null, [QixName("qDataFormat")] FileDataFormat dataFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | connectionId |
Identifier of the connection. |
| System.String | relativePath |
Path of the connection file. |
| FileDataFormat | dataFormat |
Type of the file. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<DataTable>> |
Implements
GetFileTablesAsync<T>(AsyncHandle, Func<Response, T>, String, String, FileDataFormat)
Lists the tables for a folder connection.
FileType
Recognized file formats are:
- CSV for Delimited
- FIX for Fixed Record
- DIF for Data Interchange Format
- EXCEL_BIFF for Microsoft Excel (XLS)
- EXCEL_OOXML for Microsoft Excel (XLSX)
- HTML for HTML
- QVD for QVD file
- XML for XML
- QVX for QVX file
- JSON for JSON format
- KML for KML file
- PARQUET for PARQUET file
Declaration
public Task<T> GetFileTablesAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qConnectionId")] string connectionId, [QixName("qRelativePath")] string relativePath = null, [QixName("qDataFormat")] FileDataFormat dataFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.String | connectionId |
Identifier of the connection. |
| System.String | relativePath |
Path of the connection file. |
| FileDataFormat | dataFormat |
Type of the file. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |