SearchServiceApplication.GetContentSourceNames Method
Gets a list of ContentSource names managed by the SearchServiceApplication.
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 SearchServiceApplication
Dim returnValue As List(Of String)
returnValue = instance.GetContentSourceNames()
public List<string> GetContentSourceNames()
Return Value
Type: System.Collections.Generic.List<String>
A list of ContentSource names.
Implements
ISearchSiteAdministrationServiceApplication.GetContentSourceNames()
Remarks
This method gets a list that contains all of the ContentSource names managed by the SearchServiceApplication.
See Also
Reference
SearchServiceApplication Class