Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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