Adds a System.Data.DataTable named "Table" to a System.Data.DataSet and configures the schema to match the schema in the data source.
Visual Basic
Overloads NotOverridable Public Function FillSchema( _
ByVal dataSet As DataSet, _
ByVal schemaType As SchemaType _
) As DataTable() _
Implements IDataAdapter.FillSchema
C#
public DataTable[] FillSchema(
DataSet dataSet,
SchemaType schemaType
);
dataSet A System.Data.DataSet to fill with the schema.
schemaType One of the System.Data.SchemaType values that specify how to insert the schema.
A reference to a collection of System.Data.DataTable objects that were added to the System.Data.DataSet.
For more information, see IDataAdapter.FillSchema.
System.ArgumentNullException - The dataSet parameter is invalid.
InvalidOperationException - The ULDataAdapter.SelectCommand is invalid or, the table mapping is missing and ULDataAdapter.MissingMappingAction is set to System.Data.MissingMappingAction.Error.