'Declaration
Protected Overloads Function FillSchema( _ ByVal dataSet As System.Data.DataSet, _ ByVal schemaType As System.Data.SchemaType, _ ByVal command As System.Data.IDbCommand, _ ByVal srcTable As System.String, _ ByVal behavior As System.Data.CommandBehavior _ ) As System.Data.DataTable()
'Usage
Dim instance As VistaDBDataAdapter Dim dataSet As System.Data.DataSet Dim schemaType As System.Data.SchemaType Dim command As System.Data.IDbCommand Dim srcTable As System.String Dim behavior As System.Data.CommandBehavior Dim value() As System.Data.DataTable value = instance.FillSchema(dataSet, schemaType, command, srcTable, behavior)
protected System.Data.DataTable[] FillSchema( System.Data.DataSet dataSet, System.Data.SchemaType schemaType, System.Data.IDbCommand command, System.string srcTable, System.Data.CommandBehavior behavior )
Parameters
- dataSet
- The System.Data.DataSet to be filled with the schema from the data source.
- schemaType
- One of the System.Data.SchemaType values.
- command
- The SQL SELECT statement used to retrieve rows from the data source.
- srcTable
- The name of the source table to use for table mapping.
- behavior
- One of the System.Data.CommandBehavior values.
Return Value
An array of System.Data.DataTable objects that contain schema information returned from the data source.