ISPWDataConnector.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
Assembly:  Microsoft.Office.SharePointWorkspace.AddIn.Interface (in Microsoft.Office.SharePointWorkspace.AddIn.Interface.dll)

Syntax

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

returnValue = instance.FillSchema(dataSet)
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.

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

ISPWDataConnector Interface

ISPWDataConnector Members

Microsoft.Office.SharePointWorkspace.AddIn Namespace