Share via


DataResultBase.DefaultGroupBy property

Gets or sets the default column name by which to group the results.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property DefaultGroupBy As String
    Get
    Set
'Usage
Dim instance As DataResultBase
Dim value As String

value = instance.DefaultGroupBy

instance.DefaultGroupBy = value
public string DefaultGroupBy { get; set; }

Property value

Type: System.String
A string that contains the default group-by column name.

See also

Reference

DataResultBase class

DataResultBase members

Microsoft.SharePoint.Portal.WebControls namespace