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 Property DataSource As SPListDataSource
    Friend Set
Dim instance As SPList
Dim value As SPListDataSource

value = instance.DataSource
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.

See also


SPList class

SPList members

Microsoft.SharePoint namespace