ContentSourceCollection.Item Property (Int32)

Gets the specified content source from the collection of content sources based on the specified content source ID.

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


Public ReadOnly Default Property Item ( _
    id As Integer _
) As ContentSource
Dim instance As ContentSourceCollection
Dim id As Integer
Dim value As ContentSource

value = instance(id)
public ContentSource this[
    int id
] { get; }


  • id
    Type: System.Int32
    A 32-bit integer identifying the content source.

Property Value

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

See Also


ContentSourceCollection Class

ContentSourceCollection Members

Item Overload

Microsoft.Office.Server.Search.Administration Namespace