Compartilhar via


CmsDataFormWebPart.ShouldProvideRows Method

Activates the connection interface of the CmsDataFormWebPart control when overridden.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function ShouldProvideRows As Boolean
'Usage
Dim instance As CmsDataFormWebPart
Dim returnValue As Boolean

returnValue = instance.ShouldProvideRows()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool ShouldProvideRows()

Return Value

Type: System.Boolean
Returns a default Boolean value of false.

Remarks

This method affects the behavior of the DataFormProviderConnectionPoint class.

See Also

Reference

CmsDataFormWebPart Class

CmsDataFormWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace