Share via


DataFormProviderConnectionPoint.GetEnabled Method

Returns a value that indicates whether the DataFormProviderConnectionPoint can participate in connections.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Function GetEnabled ( _
    control As Control _
) As Boolean
'Usage
Dim instance As DataFormProviderConnectionPoint
Dim control As Control
Dim returnValue As Boolean

returnValue = instance.GetEnabled(control)
public override bool GetEnabled(
    Control control
)

Parameters

Return Value

Type: System.Boolean
true if the control can create a DataFormProviderConnectionPoint to participate in a connection; otherwise, false.

Remarks

This override returns false if the InterfaceType is IWebPartRow and the control is a DataFormWebPart that does not provide rows for connections; otherwise, true.

See Also

Reference

DataFormProviderConnectionPoint Class

DataFormProviderConnectionPoint Members

Microsoft.SharePoint.WebPartPages Namespace