Share via


SearchContext.Name property

NOTE: This API is now obsolete.

Gets the name of the search context.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SearchContext
Dim value As String

value = instance.Name
[ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")]
public string Name { get; }

Property value

Type: System.String
A string containing the search context name.

See also

Reference

SearchContext class

SearchContext members

Microsoft.Office.Server.Search.Administration namespace