VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / FillSchema Method / FillSchema(DataSet,SchemaType) Method
A System.Data.DataSet to insert the schema in.
One of the System.Data.SchemaType values that specify how to insert the schema.


In This Topic
    FillSchema(DataSet,SchemaType) Method
    In This Topic
    Adds a System.Data.DataTable named "Table" to the specified System.Data.DataSet and configures the schema to match that in the data source based on the specified System.Data.SchemaType.
    Syntax
    'Declaration
     
    
    Public Overloads Function FillSchema( _
       ByVal dataSet As System.Data.DataSet, _
       ByVal schemaType As System.Data.SchemaType _
    ) As System.Data.DataTable()
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim dataSet As System.Data.DataSet
    Dim schemaType As System.Data.SchemaType
    Dim value() As System.Data.DataTable
     
    value = instance.FillSchema(dataSet, schemaType)
    public System.Data.DataTable[] FillSchema( 
       System.Data.DataSet dataSet,
       System.Data.SchemaType schemaType
    )

    Parameters

    dataSet
    A System.Data.DataSet to insert the schema in.
    schemaType
    One of the System.Data.SchemaType values that specify how to insert the schema.

    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