System.Data.Common.DataTableMapping.GetDataTableBySchemaAction Method

Gets the current System.Data.DataTable for the specified System.Data.DataSet using the specified System.Data.MissingSchemaAction value.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Data.DataTable GetDataTableBySchemaAction (System.Data.DataSet dataSet, System.Data.MissingSchemaAction schemaAction)

Parameters

dataSet
The System.Data.DataSet from which to get the System.Data.DataTable.
schemaAction
One of the System.Data.MissingSchemaAction values.

Returns

A data table.

Remarks

If the System.Data.DataTable does not exist, the specified System.Data.MissingSchemaAction is taken.

Requirements

Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0