DataSource Property
Collapse the table of content
Expand the table of content

SPList.DataSource Property

Gets the data source for a list that has an external data source.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallablePropertyAttribute(SetProperty = false, ExcludeFromDefaultRetrieve = true)]
public SPListDataSource DataSource { get; internal set; }

Property Value

Type: Microsoft.SharePoint.SPListDataSource
An object that represents the external data source or a null reference (Nothing in Visual Basic) if the list has no external data source.
© 2016 Microsoft