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.String

    A string representing the federated location name.

See also

Reference

Location class

Location members

Location overload

Microsoft.Office.Server.Search.Query namespace