LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlConnection.GetSchemaAsync method (1 of 3)

Asynchronously returns schema information for the data source of this MySqlConnection.

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

Return Value

A Task containing schema information.

Remarks

The proposed ADO.NET API that this is based on is not finalized; this API may change in the future.

See Also


MySqlConnection.GetSchemaAsync method (2 of 3)

Asynchronously returns schema information for the data source of this MySqlConnection.

public override Task<DataTable> GetSchemaAsync(string collectionName, 
    CancellationToken cancellationToken = default)
parameterdescription
collectionNameThe name of the schema to return.
cancellationTokenA token to cancel the asynchronous operation.

Return Value

A Task containing schema information.

Remarks

The proposed ADO.NET API that this is based on is not finalized; this API may change in the future.

See Also


MySqlConnection.GetSchemaAsync method (3 of 3)

Asynchronously returns schema information for the data source of this MySqlConnection.

public override Task<DataTable> GetSchemaAsync(string collectionName, string?[] restrictionValues, 
    CancellationToken cancellationToken = default)
parameterdescription
collectionNameThe name of the schema to return.
restrictionValuesThe restrictions to apply to the schema.
cancellationTokenA token to cancel the asynchronous operation.

Return Value

A Task containing schema information.

Remarks

The proposed ADO.NET API that this is based on is not finalized; this API may change in the future.

See Also