VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / FillSchema Method / FillSchema(DataSet,SchemaType,String,IDataReader) Method
The System.Data.DataTable to be filled from the System.Data.IDataReader.
One of the System.Data.SchemaType values.
The name of the source table to use for table mapping.
The System.Data.IDataReader to be used as the data source when filling the System.Data.DataTable.


In This Topic
    FillSchema(DataSet,SchemaType,String,IDataReader) Method
    In This Topic
    Adds a System.Data.DataTable to the specified System.Data.DataSet.
    Syntax
    'Declaration
     
    
    Protected Overloads Function FillSchema( _
       ByVal dataSet As System.Data.DataSet, _
       ByVal schemaType As System.Data.SchemaType, _
       ByVal srcTable As System.String, _
       ByVal dataReader As System.Data.IDataReader _
    ) As System.Data.DataTable()
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim dataSet As System.Data.DataSet
    Dim schemaType As System.Data.SchemaType
    Dim srcTable As System.String
    Dim dataReader As System.Data.IDataReader
    Dim value() As System.Data.DataTable
     
    value = instance.FillSchema(dataSet, schemaType, srcTable, dataReader)
    protected System.Data.DataTable[] FillSchema( 
       System.Data.DataSet dataSet,
       System.Data.SchemaType schemaType,
       System.string srcTable,
       System.Data.IDataReader dataReader
    )

    Parameters

    dataSet
    The System.Data.DataTable to be filled from the System.Data.IDataReader.
    schemaType
    One of the System.Data.SchemaType values.
    srcTable
    The name of the source table to use for table mapping.
    dataReader
    The System.Data.IDataReader to be used as the data source when filling the System.Data.DataTable.

    Return Value

    A reference to a collection of System.Data.DataTable objects that were added to the System.Data.DataSet.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also