Partager via


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

    A string representing the federated location name.

See Also

Reference

Location Class

Location Members

Location Overload

Microsoft.Office.Server.Search.Query Namespace