TestConnectivity Method of the IFPCWebProxy3 Interface

The TestConnectivity method performs a connectivity test to the specified web server.

[C++]

Syntax

HRESULT TestConnectivity(
  [in]   BSTR ServerUrl,
  [in]   LONG PathPingMode,
  [out]  BSTR* TestResult
);

Parameters

ServerUrl

A BSTR that specifies the server URL.

PathPingMode

A LONG that specifies the path ping mode.

TestResult

Pointer to a BSTR that on return specifies the test result.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]

Syntax

Function TestConnectivity( _
  ByVal ServerUrl As String, _
  ByVal PathPingMode As LONG, _
  ByRef TestResult As String _
) As String

Parameters

ServerUrl

A String that specifies the server URL.

PathPingMode

A LONG that specifies the path ping mode.

TestResult

Reference to a String that on return specifies the test result.

Return Value

A String that specifies the test result.

Requirements

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.

See Also

FPCWebProxy


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.