Partager via


SearchServiceApplicationProxy.GetLocationConfigurations Method

Retrieves configuration information for all the federated locations.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetLocationConfigurations ( _
    <OutAttribute> ByRef lastUpdate As Long, _
    <OutAttribute> ByRef useCrawlProxy As Boolean _
) As LocationConfiguration()
'Usage
Dim instance As SearchServiceApplicationProxy
Dim lastUpdate As Long
Dim useCrawlProxy As Boolean
Dim returnValue As LocationConfiguration()

returnValue = instance.GetLocationConfigurations(lastUpdate, _
    useCrawlProxy)
public LocationConfiguration[] GetLocationConfigurations(
    out long lastUpdate,
    out bool useCrawlProxy
)

Parameters

  • lastUpdate
    Type: System.Int64

    The earlier version of the last configuration changes.

Return Value

Type: []
An array of configuration information for all the federated locations.

Implements

ISearchSiteAdministrationServiceApplication.GetLocationConfigurations(Int64, Boolean)

Exceptions

Exception Condition
TimeoutException

The time-out for an operation has expired.

EndpointNotFoundException

The remote endpoint could not be found or reached.

Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

This method allows the caller to retrieve information about the configurations of all the federated locations available in the Search application.

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace