LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlDataReader.GetColumnSchemaAsync method

Returns metadata about the columns in the result set.

public override Task<ReadOnlyCollection<DbColumn>> GetColumnSchemaAsync(
    CancellationToken cancellationToken = default)
parameterdescription
cancellationTokenA token to cancel the operation.

Return Value

A Task containing ReadOnlyCollection containing metadata about the result set.

Remarks

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

See Also