Share via


ContentSource.Id Property

Gets the identifier for a content source.

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

Syntax

'Declaration
Public ReadOnly Property Id As Integer
    Get
'Usage
Dim instance As ContentSource
Dim value As Integer

value = instance.Id
public int Id { get; }

Property Value

Type: System.Int32
A 32-bit integer that identifies the content source.

See Also

Reference

ContentSource Class

ContentSource Members

Microsoft.Office.Server.Search.Administration Namespace

Microsoft.Office.Server.Search.Administration.Content

Other Resources

Getting Started with the Enterprise Search Administration Object Model

Content Sources Overview

Managing Content

How to: Retrieve the Content Sources for a Shared Services Provider

How to: Add a Content Source

How to: Delete a Content Source

How to: Programmatically Manage the Crawl of a Content Source

How to: Programmatically Configure a Crawl Schedule for a Content Source