SearchServiceApplication.AddDemotedSite method
Adds a DemotedSite to SharePoint Server.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub AddDemotedSite ( _
owner As SearchObjectOwner, _
url As String _
)
'Usage
Dim instance As SearchServiceApplication
Dim owner As SearchObjectOwner
Dim url As String
instance.AddDemotedSite(owner, url)
public void AddDemotedSite(
SearchObjectOwner owner,
string url
)
Parameters
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
url
Type: System.StringThe URL of the page to add as a DemotedSite.
Implements
ISearchSiteAdministrationServiceApplication.AddDemotedSite(SearchObjectOwner, String)
See also
Reference
SearchServiceApplication class
SearchServiceApplication members