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)
Syntax
'Declaration
<RemoteAttribute> _
Public ReadOnly Property DataSource As ListDataSource
Get
'Usage
Dim instance As List
Dim value As ListDataSource
value = instance.DataSource
[RemoteAttribute]
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).