[][src]Function mssql_browser::browse_instance

pub async fn browse_instance<'_>(
    remote_addr: IpAddr,
    instance_name: &'_ str
) -> Result<InstanceInfo, BrowserError<<DefaultSocketFactory as UdpSocketFactory>::Error, <<DefaultSocketFactory as UdpSocketFactory>::Socket as UdpSocket>::Error>>

Gets information about the given instance.

Arguments

  • remote_addr - The address of the remote host on which the instance is running.
  • instance_name - The name of the instance, must be less than MAX_INSTANCE_NAME_LEN characters.