Share via


SearchExecutor.ExportPopularQueries method

Export the popular queries.

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

'Declaration
Public Function ExportPopularQueries ( _
    web As Web, _
    sourceId As Guid _
) As IList(Of PopularQuery)
'Usage
Dim instance As SearchExecutor
Dim web As Web
Dim sourceId As Guid
Dim returnValue As IList(Of PopularQuery)

returnValue = instance.ExportPopularQueries(web, _
    sourceId)
public IList<PopularQuery> ExportPopularQueries(
    Web web,
    Guid sourceId
)

Parameters

  • sourceId
    Type: System.Guid

    The ID of the identified source of the query.

Return value

Type: System.Collections.Generic.IList<PopularQuery>
A list of the popular queries based on the defined parameters.

See also

Reference

SearchExecutor class

SearchExecutor members

Microsoft.SharePoint.Client.Search.Query namespace