Location Constructor (String, SearchServiceApplicationProxy)
Initializes a new instance of the Location class based on the specified location name 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 _
)
'Usage
Dim name As String
Dim searchProxy As SearchServiceApplicationProxy
Dim instance As New Location(name, searchProxy)
public Location(
string name,
SearchServiceApplicationProxy searchProxy
)
Parameters
name
Type: System.StringA string representing the federated location name.
searchProxy
Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxyThe search service application.