Partager via


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