List.DataSource Property

Gets the data source associated with the list, or a null reference (Nothing in Visual Basic) if the list is not a virtual list.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public ListDataSource DataSource { get; }

Property Value

Type: Microsoft.SharePoint.Client.ListDataSource
A ListDataSource object that represents the data source.

If HasExternalDataSource is false, the server must return a null reference (Nothing in Visual Basic).