LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlDataReader.GetSchemaTableAsync method

Returns a DataTable that contains metadata about the columns in the result set.

public override Task<DataTable?> GetSchemaTableAsync(CancellationToken cancellationToken = default)
parameterdescription
cancellationTokenA token to cancel the operation.

Return Value

A DataTable containing metadata about the columns in the result set.

Remarks

This method runs synchronously; prefer to call GetSchemaTable to avoid the overhead of allocating an unnecessary Task.

See Also