Export (0) Print
Expand All

Context Interface

SharePoint 2010

Represents a context.

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface Context : IComparable<Context>, 
	Describable, Identifiable

Contexts are used to control the applicability of search settings. A search setting may only be active if the query is executed in a certain query context. A context is a set of key-value pairs, and a search setting is only valid if these match the context expression configured on the search setting. For example a synonym may only be valid if the query is executed by a full time employee in India.

Show:
© 2014 Microsoft