Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the collection of data source controls.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Overridable ReadOnly Property DataSources As DataSourceCollection
Get
'Usage
Dim instance As DataFormWebPart
Dim value As DataSourceCollection
value = instance.DataSources
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public virtual DataSourceCollection DataSources { get; }
Property Value
Type: Microsoft.SharePoint.WebControls.DataSourceCollection
Returns a collection of the data source controls that are stored in the current DataFormWebPart object.