SPWDataConnector.FillSchema Method

Fills the DataSet with the schema from the set defined in the tool manifest but without any data.

Namespace:  Microsoft.Office.SharePointWorkspace.AddIn.Data
Assembly:  Microsoft.Office.SharePointWorkspace.AddIn.Data (in Microsoft.Office.SharePointWorkspace.AddIn.Data.dll)

Syntax

'Declaration
Public Function FillSchema ( _
    dataSet As DataSet _
) As DataTable()
'Usage
Dim instance As SPWDataConnector
Dim dataSet As DataSet
Dim returnValue As DataTable()

returnValue = instance.FillSchema(dataSet)
public DataTable[] FillSchema(
    DataSet dataSet
)

Parameters

  • dataSet
    Type: System.Data.DataSet
    The DataSet to be filled with the schema. The name of the DataSet identifies the set in the manifest.

Return Value

Type: []
Array of DataTables added to the DataSet.

Implements

ISPWDataConnector.FillSchema(DataSet)

Remarks

Typically, this method is called to get the structure so that new rows can be added without needing to access any existing rows.

For more information about the tool manifest, see Defining the Tool and Data Structure in the Manifest

See Also

Reference

SPWDataConnector Class

SPWDataConnector Members

Microsoft.Office.SharePointWorkspace.AddIn.Data Namespace