LocationSearchBulkSearch Method (LocationSearchBaseArgs, Int32, Boolean) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase.Geocoding
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static BulkResponse<LocationSearchResult> BulkSearch(
LocationSearchBaseArgs[] bulkArgs,
int batchSize,
bool abortOnErrors
)
Public Shared Function BulkSearch (
bulkArgs As LocationSearchBaseArgs(),
batchSize As Integer,
abortOnErrors As Boolean
) As BulkResponse(Of LocationSearchResult)
Parameters
- bulkArgs
- Type: Telogis.GeoBase.GeocodingLocationSearchBaseArgs
The array of arguments for the Location Search operations. - batchSize
- Type: SystemInt32
The batch size to use when reverse geocoding. Only applicable in GeoStream mode, that is when using a GeoStreamRepository. - abortOnErrors
- Type: SystemBoolean
Set to true to abort the bulk Location Search operation with an exception when any Location Search sub-operation fails. Set to false to continue even when a Location Search sub-operation fails.
Return Value
Type:
BulkResponseLocationSearchResultA
BulkResponseTResponse object with the results from the bulk Location Search operation.
Examples var bulkArgs = new[] {
new LocationSearchArgs {
Query = "20 enterprise, aliso viejo",
Countries = new Country[] { Country.USA },
}
};
LocationSearchResult[] results = LocationSearch.BulkSearch(bulkArgs).Responses;
Console.WriteLine(results[0].Suggestions[0]);
See Also