Share via


PromotedLocation Interface

Represents a specific way of promoting or demoting result set items. Defined by specifying an item identifier prefix, given as a URI, which identifies the result set items that are to be promoted or demoted.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Interface PromotedLocation _
    Inherits PromotedItem, Identifiable, IComparable(Of PromotedItem)
'Usage
Dim instance As PromotedLocation
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface PromotedLocation : PromotedItem, 
    Identifiable, IComparable<PromotedItem>

Remarks

For items identified by a HTTP type URL, the promoted location can represent a leading part of the URL, such as https://contoso.com/marketing . Then a result set item with a URL like https://contoso.com/marketing/meetings.pdf, may be promoted or demoted. Location promotion may also be referred to as site promotion.

See Also

Reference

PromotedLocation Members

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace

PromotedItem

PromotedItemCollection

Promotion

PromotionCollection