Partilhar via


ISearchSiteAdministrationServiceApplication.GetContentSourceNames Method

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

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

Syntax

'Declaration
<OperationContractAttribute> _
Function GetContentSourceNames As List(Of String)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim returnValue As List(Of String)

returnValue = instance.GetContentSourceNames()
[OperationContractAttribute]
List<string> GetContentSourceNames()

Return Value

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

Remarks

This method gets a list of the names of the ContentSource objects managed by the ISearchSiteAdministrationServiceApplication.

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace