다음을 통해 공유


SearchContext.Current Property

NOTE: This API is now obsolete.

Gets the SearchContext instance for the current request.

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 Shared ReadOnly Property Current As SearchContext
    Get
'Usage
Dim value As SearchContext

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

Property Value

Type: Microsoft.Office.Server.Search.Administration.SearchContext
A SearchContext object representing the instance for the current request.

See Also

Reference

SearchContext Class

SearchContext Members

Microsoft.Office.Server.Search.Administration Namespace