MySqlConnector


MySqlConnection.GetSchemaAsync method (1 of 3)

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

public Task<DataTable> GetSchemaAsync(
    CancellationToken cancellationToken = default(CancellationToken))
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 Task<DataTable> GetSchemaAsync(string collectionName, 
    CancellationToken cancellationToken = default(CancellationToken))
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 Task<DataTable> GetSchemaAsync(string collectionName, string[] restrictionValues, 
    CancellationToken cancellationToken = default(CancellationToken))
parameterdescription
collectionNameThe name of the schema to return.
restrictionValuesThe restrictions to apply to the schema; this parameter is currently ignored.
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