Condividi tramite


SPListDataSource Class

Provides information about an external list.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPListDataSource

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
<ClientCallableTypeAttribute(Name := "ListDataSource", ServerTypeId := "{06bfe4a5-1516-4b55-a6d7-ecbe3ff7a3c8}",  _
    ValueObject := True)> _
Public NotInheritable Class SPListDataSource
'Usage
Dim instance As SPListDataSource
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "ListDataSource", ServerTypeId = "{06bfe4a5-1516-4b55-a6d7-ecbe3ff7a3c8}", 
    ValueObject = true)]
public sealed class SPListDataSource

Remarks

This class serves as the bridge between SPList and an external list. Use the associated SPList to retrieve entity fields and data.

Retrieve an instance of SPListDataSource from the HasExternalDataSource property. When HasExternalDataSource is not null, the SPList object's data is external to Microsoft SharePoint Foundation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPListDataSource Members

Microsoft.SharePoint Namespace