AutoResolve Property  
 

Determines if host names and IP addresses are automatically resolved.

Syntax

object.AutoResolve [= { True | False } ]

Remarks

Setting the AutoResolve property determines if the control automatically resolves host names and addresses specified by the HostName and HostAddress properties. If set to True, setting the HostName property will cause the control to automatically determine the corresponding IP address and set the HostAddress property accordingly. Likewise, setting the HostAddress property will cause the control to determine the host name and set the HostName property. Setting the property to False prevents the control from resolving host names until a connection attempt is made.

Note that setting the HostName or HostAddress property may cause the current thread to block, sometimes for several seconds, until the name or address is resolved. To prevent this behavior, set AutoResolve to False.

Data Type

Boolean

See Also

HostAddress Property, HostName Property