Share via


SearchServiceApplicationProxy.GetSearchApplicationName Method

Returns the name of the Search service application.

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

Syntax

'Declaration
Public Function GetSearchApplicationName As String
'Usage
Dim instance As SearchServiceApplicationProxy
Dim returnValue As String

returnValue = instance.GetSearchApplicationName()
public string GetSearchApplicationName()

Return Value

Type: System.String
The name of the Search service application.

Implements

ISearchSiteAdministrationServiceApplication.GetSearchApplicationName()

Exceptions

Exception Condition
Exception

An error occurred during application execution.

Remarks

This method returns the name of the Search service application for which the SearchServiceApplicationProxy acts as a proxy.

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace