Share via


DemotedSiteCollection.Create method

Creates a demoted site.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function Create ( _
    url As Uri _
) As DemotedSite
'Usage
Dim instance As DemotedSiteCollection
Dim url As Uri
Dim returnValue As DemotedSite

returnValue = instance.Create(url)
public DemotedSite Create(
    Uri url
)

Parameters

  • url
    Type: System.Uri

    A System.Uri object representing the URL.

Return value

Type: Microsoft.Office.Server.Search.Administration.DemotedSite
A DemotedSite object.

See also

Reference

DemotedSiteCollection class

DemotedSiteCollection members

Microsoft.Office.Server.Search.Administration namespace