SearchContext.GetCurrent - Méthode
Remarque : cette API est désormais obsolète.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)
Syntaxe
'Déclaration
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public Shared Function GetCurrent ( _
cached As Boolean _
) As SearchContext
'Utilisation
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
)
Paramètres
- cached
Type : System.Boolean
Valeur renvoyée
Type : Microsoft.Office.Server.Search.Administration.SearchContext
Voir aussi
Référence
Microsoft.Office.Server.Search.Administration - Espace de noms