ContentSourceCollection.Item property (Int32)

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

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