Compartilhar via


SearchContext.Current property

NOTE: This API is now obsolete.

Obtém a instância de SearchContext para a solicitação atual.

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

Syntax

'Declaração
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public Shared ReadOnly Property Current As SearchContext
    Get
'Uso
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
Um objeto SearchContext que representa a instância para a solicitação atual.

Ver também

Referência

SearchContext class

SearchContext members

Microsoft.Office.Server.Search.Administration namespace