Location Constructor (String, SearchServiceApplicationProxy, ILocationRuntime)
Initializes a new instance of the Location class based on the specified location for the specified search application proxy.
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
searchProxy As SearchServiceApplicationProxy, _
handler As ILocationRuntime _
)
'Usage
Dim name As String
Dim searchProxy As SearchServiceApplicationProxy
Dim handler As ILocationRuntime
Dim instance As New Location(name, searchProxy, _
handler)
public Location(
string name,
SearchServiceApplicationProxy searchProxy,
ILocationRuntime handler
)
Parameters
name
Type: System.StringA string representing the federated location name.
searchProxy
Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxyThe search service application.
handler
Type: Microsoft.Office.Server.Search.Query.ILocationRuntimeThe location runtime handling the federated location.