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