Context Interface
Represents a context.
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 Context _
Inherits IComparable(Of Context), Describable, Identifiable
'Usage
Dim instance As Context
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface Context : IComparable<Context>,
Describable, Identifiable
Remarks
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.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace