다음을 통해 공유


SearchContext.GetContext Method (SearchServiceApplication, Boolean)

NOTE: This API is now obsolete.

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 Function GetContext ( _
    searchApplication As SearchServiceApplication, _
    cached As Boolean _
) As SearchContext
'Usage
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
)

Parameters

Return Value

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

See Also

Reference

SearchContext Class

SearchContext Members

GetContext Overload

Microsoft.Office.Server.Search.Administration Namespace