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
web
Type: Microsoft.SharePoint.Client.WebThe website to query.
sourceId
Type: System.GuidThe 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.