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