Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves all promotions of the search setting group that are not associated with a keyword, i.e. are global, and where the promotion name contains the specified filter.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function GetPromotionsWithoutKeyword ( _
filter As String _
) As PromotionCollection
'Usage
Dim instance As SearchSettingGroup
Dim filter As String
Dim returnValue As PromotionCollection
returnValue = instance.GetPromotionsWithoutKeyword(filter)
PromotionCollection GetPromotionsWithoutKeyword(
string filter
)
Parameters
filter
Type: System.StringThe filter value the promotion name must contain in order to be included in the collection.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.PromotionCollection
A PromotionCollection of all the matching Promotions.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace