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
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property DataSource As ListDataSource
Get
'Usage
Dim instance As List
Dim value As ListDataSource
value = instance.DataSource
public ListDataSource DataSource { get; }
Property value
Type: Microsoft.SharePoint.Client.ListDataSource
A ListDataSource object that represents the data source.
Remarks
If HasExternalDataSource is false, the server must return a null reference (Nothing in Visual Basic).