Compartilhar via


SearchContext.GetCurrent method

NOTE: This API is now obsolete.

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 Function GetCurrent ( _
    cached As Boolean _
) As SearchContext
'Uso
Dim cached As Boolean
Dim returnValue As SearchContext

returnValue = SearchContext.GetCurrent(cached)
[ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")]
public static SearchContext GetCurrent(
    bool cached
)

Parâmetros

Valor retornado

Type: Microsoft.Office.Server.Search.Administration.SearchContext

Ver também

Referência

SearchContext class

SearchContext members

Microsoft.Office.Server.Search.Administration namespace