Share via


LevelHierarchyWebPart.ConnectToDataSourceControl Method

Used to override the base class and create a specified data source control during the DataFormWebPart lifecycle.

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