Share via


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)

Syntax

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

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

Parameters

  • 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

Reference

ContentSourceCollection Class

ContentSourceCollection Members

Item Overload

Microsoft.Office.Server.Search.Administration Namespace