Share via


Promotion Members

Include Protected Members
Include Inherited Members

Represents a promotion. A promotion may be used to promote specific kinds of items or locations so that the item or location reaches a higher rank position in the result set of a query. A promotion may also be used to demote documents to fall to a lower rank position. Such promotions are called demotions.

The Promotion type exposes the following members.

Properties

  Name Description
Public property BoostValue Gets or sets the boost value, used to boost the promoted items.
Public property Contexts Gets all contexts which are attached to the search setting. (Inherited from SearchSetting.)
Public property Description Gets or sets the description. (Inherited from Describable.)
Public property EndDate Gets or sets the date to which of the search setting is valid. (Inherited from SearchSetting.)
Public property Group Gets the search setting group which the search setting belongs to. (Inherited from SearchSetting.)
Public property Id Gets or sets the identity of the object. (Inherited from Identifiable.)
Public property Keyword Gets the keyword to which the search setting belongs. This is undefined if the search setting does not depend on a keyword, i.e. is global. (Inherited from SearchSetting.)
Public property LastChanged Gets or sets the date of the last changed field. (Inherited from Identifiable.)
Public property Name Gets or sets the name of the domain object. (Inherited from Describable.)
Public property PromotedItems Gets the collection of promoted items.
Public property StartDate Gets or sets the date from which of the search setting is valid. (Inherited from SearchSetting.)

Top

Methods

  Name Description
Public method AttachContext Attaches a context to the search setting. (Inherited from SearchSetting.)
Public method CompareTo (Inherited from IComparable<Promotion>.)
Public method DetachContext Detaches a context from the search setting. (Inherited from SearchSetting.)
Public method DetachContexts Detaches all contexts from the search setting. (Inherited from SearchSetting.)

Top

See Also

Reference

Promotion Interface

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