The TestConnectivity method performs a connectivity test to the specified web server.
HRESULT TestConnectivity( [in] BSTR ServerUrl, [in] LONG PathPingMode, [out] BSTR* TestResult );
A BSTR that specifies the server URL.
A LONG that specifies the path ping mode.
Pointer to a BSTR that on return specifies the test result.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Function TestConnectivity( _ ByVal ServerUrl As String, _ ByVal PathPingMode As LONG, _ ByRef TestResult As String _ ) As String
A String that specifies the server URL.
A LONG that specifies the path ping mode.
Reference to a String that on return specifies the test result.
A String that specifies the test result.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.