Share via


DemotedSiteCollection.Item Property (Uri)

Gets the demoted site from the collection based on the specified URL.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    url As Uri _
) As DemotedSite
    Get
'Usage
Dim instance As DemotedSiteCollection
Dim url As Uri
Dim value As DemotedSite

value = instance(url)
public DemotedSite this[
    Uri url
] { get; }

Parameters

  • url
    Type: System.Uri

    A System.Uri object representing the URL.

Property Value

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

See Also

Reference

DemotedSiteCollection Class

DemotedSiteCollection Members

Item Overload

Microsoft.Office.Server.Search.Administration Namespace