ContentByQueryWebPart.ConnectToDataSourceControl Method
Override the base class because a customized data source control was created during the Microsoft Office SharePoint Designer 2007 Data Form Web Part 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