SearchServiceApplication.AddDemotedSite - Méthode
Ajoute un DemotedSite à SharePoint Server.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)
Syntaxe
'Déclaration
Public Sub AddDemotedSite ( _
owner As SearchObjectOwner, _
url As String _
)
'Utilisation
Dim instance As SearchServiceApplication
Dim owner As SearchObjectOwner
Dim url As String
instance.AddDemotedSite(owner, url)
public void AddDemotedSite(
SearchObjectOwner owner,
string url
)
Paramètres
owner
Type : Microsoft.Office.Server.Search.Administration.SearchObjectOwnerLe propriétaire de la hiérarchie de site de recherche.
url
Type : System.StringL'URL de la page à ajouter comme un DemotedSite.
Implémentations
ISearchSiteAdministrationServiceApplication.AddDemotedSite(SearchObjectOwner, String)
Voir aussi
Référence
SearchServiceApplication classe
SearchServiceApplication - Membres
Microsoft.Office.Server.Search.Administration - Espace de noms