Share via


ManagedProperty.Context property

Gets or sets the context group this managed property should be ranked in.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property Context As Short
    Get
    Set
'Usage
Dim instance As ManagedProperty
Dim value As Short

value = instance.Context

instance.Context = value
public short Context { get; set; }

Property value

Type: System.Int16

Exceptions

Exception Condition
InvalidOperationException

If this object is not backed.

PropertyIsReadOnlyException

If this property is read only.

See also

Reference

ManagedProperty class

ManagedProperty members

Microsoft.Office.Server.Search.Administration namespace