auto_detect


Description:

public int auto_detect (URL url, out HashTable<string,string>? auto_detected) throws Error

After filling in the standard Username/Hostname/Port/Path settings (which must be set in url), if the provider supports it, you may wish to have the provider auto-detect further settings based on the aformentioned settings.

If the provider does not support auto-detection, auto_detected will be set to null. Otherwise the provider will attempt to auto-detect whatever it can and file them into auto_detected. If for some reason it cannot auto-detect anything (not enough information provided in url?) then auto_detected will be set to null and an exception may be set to explain why it failed.

Parameters:

this

camel provider

url

a URL

auto_detected

output GenericSet of auto-detected values

Returns:

0 on success or -1 on fail.