Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.Int64The earlier version of the last configuration changes.
useCrawlProxy
Type: System.Booleantrue to use the CrawlProxy object; otherwise, false.
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