DataFormWebPart.DataSources property
Gets the collection of data source controls.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<WebPartStorageAttribute(Storage.None)> _
Public Overridable ReadOnly Property DataSources As DataSourceCollection
Get
'Usage
Dim instance As DataFormWebPart
Dim value As DataSourceCollection
value = instance.DataSources
[BrowsableAttribute(false)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[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.