_Application3.IsDestinationReachable(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
bool IsDestinationReachable(System::String ^ bstrDestination);
public bool IsDestinationReachable (string bstrDestination);
abstract member IsDestinationReachable : string -> bool
Public Function IsDestinationReachable (bstrDestination As String) As Boolean
Parameters
- bstrDestination
- String
Specifies the location to check for network connectivity. IP addresses, a UNC paths, or a URLs are acceptable values.
Returns
true if a connection can be made to the specified URL, UNC, or IP address; otherwise, false.
Implements
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.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기