Share via


SPDataSourceView.CanRetrieveTotalRowCount property

Gets a Boolean value that indicates whether the current view supports retrieving the total number of data rows, in addition to the set of data.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CanRetrieveTotalRowCount As Boolean
    Get
'Usage
Dim instance As SPDataSourceView
Dim value As Boolean

value = instance.CanRetrieveTotalRowCount
public override bool CanRetrieveTotalRowCount { get; }

Property value

Type: System.Boolean
true if the operation is supported; otherwise, false.

Remarks

The implementation of the CanRetrieveTotalRowCount property in the SPDataSourceView class always returns true.

See also

Reference

SPDataSourceView class

SPDataSourceView members

Microsoft.SharePoint.WebControls namespace