Share via


ContentSourceCollection.Item property (String)

Gets the specified content source from the collection of content sources based on the content source name that is specified.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ContentSource
    Get
'Usage
Dim instance As ContentSourceCollection
Dim name As String
Dim value As ContentSource

value = instance(name)
public ContentSource this[
    string name
] { get; }

Parameters

  • name
    Type: System.String

    A string containing the content source name.

Property value

Type: Microsoft.Office.Server.Search.Administration.ContentSource
A ContentSource object representing a content source.

See also

Reference

ContentSourceCollection class

ContentSourceCollection members

Item overload

Microsoft.Office.Server.Search.Administration namespace