Share via


SearchServiceApplicationProxy.GetContentSourceNames method

Gets a list of names of content sources managed by the SearchServiceApplicationProxy.

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

Syntax

'Declaration
Public Function GetContentSourceNames As List(Of String)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim returnValue As List(Of String)

returnValue = instance.GetContentSourceNames()
public List<string> GetContentSourceNames()

Return value

Type: System.Collections.Generic.List<String>
A list of names of ContentSource objects.

Implements

ISearchSiteAdministrationServiceApplication.GetContentSourceNames()

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

This method gets a list that contains all of the names of the content sources managed by the SearchServiceApplicationProxy.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace