MySqlConnection.GetSchemaAsync method

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

public Task<DataTable> GetSchemaAsync(string collectionName = null, string[] restrictions = null, 
    CancellationToken cancellationToken = default(CancellationToken))
collectionNameThe schema name of data to be returned; if null, the MetaDataCollections schema is returned.
restrictionsThe restrictions to apply to the schema; this parameter is currently ignored.
cancellationTokenA token to cancel the asynchronous operation.

See Also