Compartir a través de


(SearchServiceApplication, Boolean) del método SearchContext.GetContext

NOTA: esta API está ahora obsoleta.

Espacio de nombres:  Microsoft.Office.Server.Search.Administration
Ensamblado:  Microsoft.Office.Server.Search (en Microsoft.Office.Server.Search.dll)

Sintaxis

'Declaración
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public Shared Function GetContext ( _
    searchApplication As SearchServiceApplication, _
    cached As Boolean _
) As SearchContext
'Uso
Dim searchApplication As SearchServiceApplication
Dim cached As Boolean
Dim returnValue As SearchContext

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

Parámetros

Valor devuelto

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

Vea también

Referencia

clase SearchContext

Miembros SearchContext

Sobrecarga GetContext

Espacio de nombres Microsoft.Office.Server.Search.Administration