SearchExecutor.GetPromotedResults method
Namespace: Microsoft.SharePoint.Client.Search.Query
Assembly: Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)
Syntax
'Declaration
Public Function GetPromotedResults ( _
siteCollectionLevel As Boolean, _
offset As Integer, _
numberOfRules As Integer _
) As ClientResult(Of PromotedResultsOperationsResult)
'Usage
Dim instance As SearchExecutor
Dim siteCollectionLevel As Boolean
Dim offset As Integer
Dim numberOfRules As Integer
Dim returnValue As ClientResult(Of PromotedResultsOperationsResult)
returnValue = instance.GetPromotedResults(siteCollectionLevel, _
offset, numberOfRules)
public ClientResult<PromotedResultsOperationsResult> GetPromotedResults(
bool siteCollectionLevel,
int offset,
int numberOfRules
)
Parameters
- siteCollectionLevel
Type: System.Boolean
- offset
Type: System.Int32
- numberOfRules
Type: System.Int32
Return value
Type: Microsoft.SharePoint.Client.ClientResult<PromotedResultsOperationsResult>