SearchServiceApplicationProxy.GetLocationConfigurations-Methode
Ruft die Konfigurationsinformationen für die Partnerspeicherorte ab.
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
)
Parameter
lastUpdate
Typ: System.Int64Die frühere Version von der letzten Änderungen an der Konfiguration.
useCrawlProxy
Typ: System.Booleantrue , das CrawlProxy -Objekt verwenden; andernfalls false.
Rückgabewert
Typ: []
Ein Array von Konfigurationsinformationen für die Partnerspeicherorte.
Implementiert
ISearchSiteAdministrationServiceApplication.GetLocationConfigurations(Int64, Boolean)
Ausnahmen
Ausnahme | Bedingung |
---|---|
TimeoutException | Das Timeout für einen Vorgang ist abgelaufen. |
EndpointNotFoundException | Der Remoteendpunkt wurde nicht gefunden oder konnte nicht erreicht werden. |
Exception | Ein Fehler, wie z. B. ein SearchServiceApplicationFault, während der Anwendungsausführung aufgetreten ist. |
Hinweise
Diese Methode ermöglicht dem Aufrufer zum Abrufen von Informationen über die Konfigurationen aller verbundenen Standorte, die in der Anwendung Suche zur Verfügung.
Siehe auch
Referenz
SearchServiceApplicationProxy Klasse