Share via


_Application3.IsDestinationReachable Method

Gets a value indicating whether the specified Uniform Resource Locator (URL), universal naming convention (UNC) path, or IP address of the destination computer can be connected to from the client computer.

Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)

Syntax

'Declaration
'Usage

Parameters

  • bstrDestination
    Specifies the location to check for network connectivity. IP addresses, a UNC paths, or a URLs are acceptable values.

Return Value

true if a connection can be made to the specified URL, UNC, or IP address; otherwise, false.

Remarks

The value specified for destination must be either a UNC path that includes a server name and a share name, such as @"\\MyServer\MyShare", or a URL that begins with one of the following protocol identifiers: http, https, or file.

See Also

Reference

_Application3 Interface
_Application3 Members
Microsoft.Office.Interop.InfoPath Namespace