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)

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.