Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataSource property
Collapse the table of content
Expand the table of content

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.Phone (in Microsoft.SharePoint.Client.Phone.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).

Show:
© 2015 Microsoft