Share via


LevelHierarchyWebPart.ConnectToDataSourceControl Method

Overrides the base class and creates a specified data source control during the DataFormWebPart life cycle.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Protected Overrides Function ConnectToDataSourceControl As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.ConnectToDataSourceControl()
protected override bool ConnectToDataSourceControl()

Return Value

Type: System.Boolean

See Also

Reference

LevelHierarchyWebPart Class

LevelHierarchyWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace