Partager via


CrawlHistory, constructeur (Microsoft.Office.Server.Search.Administration)

Creates an instance of a CrawlHistory object.

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    searchApp As SearchContext _
)
'Utilisation
Dim searchApp As SearchContext

Dim instance As New CrawlHistory(searchApp)
public CrawlHistory (
    SearchContext searchApp
)

Paramètres

  • searchApp
    The search service instance for a Shared Services Provider (SSP).

Exemple

SearchContext context;
string strURL = <SSP url>;
using (SPSite site = new SPSite(strURL))
{
   context = SearchContext.GetContext(site);
}
CrawlHistory history = new CrawlHistory(context);

Voir aussi

Référence

CrawlHistory, classe
Membres CrawlHistory
Microsoft.Office.Server.Search.Administration, espace de noms