Share via


ContentSource.Name Property

Gets or sets the name for the content source.

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

Syntax

'Declaration
Public Property Name As String
    Get
    Set
'Usage
Dim instance As ContentSource
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }

Property Value

Type: System.String
A string that contains the name.

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