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
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class DataFormConsumerConnectionPoint _
Inherits ConsumerConnectionPoint
'Usage
Dim instance As DataFormConsumerConnectionPoint
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, 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.