Share via


DataFormConsumerConnectionPoint Class

Represents the Connection point that disables itself when the owning Web Part is not supposed to provide rows or to consume Web Part parameters.

Inheritance Hierarchy

System.Object
  System.Web.UI.WebControls.WebParts.ConnectionPoint
    System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint
      Microsoft.SharePoint.WebPartPages.DataFormConsumerConnectionPoint

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class DataFormConsumerConnectionPoint _
    Inherits ConsumerConnectionPoint

Dim instance As DataFormConsumerConnectionPoint
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class DataFormConsumerConnectionPoint : ConsumerConnectionPoint

Remarks

Used to conditionally enable the connection interface of the DataFormWebPart control. Override the ShouldConsumeParametersvirtual method on DataFormWebPart to affect the behavior of this connection point.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DataFormConsumerConnectionPoint Members

Microsoft.SharePoint.WebPartPages Namespace