VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / FillSchema Method / FillSchema(DataTable,SchemaType,IDbCommand,CommandBehavior) Method
The System.Data.DataTable to be filled with the schema from the data source.
One of the System.Data.SchemaType values.
The SQL SELECT statement used to retrieve rows from the data source.
One of the System.Data.CommandBehavior values.


In This Topic
    FillSchema(DataTable,SchemaType,IDbCommand,CommandBehavior) Method
    In This Topic
    Configures the schema of the specified System.Data.DataTable based on the specified System.Data.SchemaType, command string, and System.Data.CommandBehavior values.
    Syntax
    'Declaration
     
    
    Protected Overloads Function FillSchema( _
       ByVal dataTable As System.Data.DataTable, _
       ByVal schemaType As System.Data.SchemaType, _
       ByVal command As System.Data.IDbCommand, _
       ByVal behavior As System.Data.CommandBehavior _
    ) As System.Data.DataTable
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim dataTable As System.Data.DataTable
    Dim schemaType As System.Data.SchemaType
    Dim command As System.Data.IDbCommand
    Dim behavior As System.Data.CommandBehavior
    Dim value As System.Data.DataTable
     
    value = instance.FillSchema(dataTable, schemaType, command, behavior)
    protected System.Data.DataTable FillSchema( 
       System.Data.DataTable dataTable,
       System.Data.SchemaType schemaType,
       System.Data.IDbCommand command,
       System.Data.CommandBehavior behavior
    )

    Parameters

    dataTable
    The System.Data.DataTable 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.
    behavior
    One of the System.Data.CommandBehavior values.

    Return Value

    A of System.Data.DataTable object that contains schema information returned from the data source.
    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