NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataSetCommand.FillDataSetSchema

Fills the DataSet with only the schema based upon the chosen SchemaType.

[Visual Basic]
Overridable Public Function FillDataSetSchema( _
   ByVal dataSet As DataSet, _
   ByVal schemaType As SchemaType _
) As DataTable ()
[C#]
public virtual DataTable[] FillDataSetSchema(
   DataSet dataSet,
   SchemaType schemaType
);
[C++]
public: virtual DataTable* FillDataSetSchema(
   DataSet* dataSet,
   SchemaType schemaType
) [];
[JScript]
public function FillDataSetSchema(
   dataSet : DataSet,
   schemaType : SchemaType
) : DataTable[];

Parameters

dataSet
The DataSet to be filled with the schema from the data source.
schemaType
One of the SchemaType values.

Return Value

An array of DataTable objects that contain data returned from the data source.

Remarks

TableMappings is required to be mapped for this method to operate. The default source table is named "Table".

Notes to Inheritors: When overriding FillDataSetSchema in a derived class, be sure to call the base class's FillDataSetSchema method.

See Also

DataSetCommand Class | DataSetCommand Members | System.Data.Internal Namespace