次の方法で共有


IFPCConnectivityVerifier::RequestType property

Applies to: desktop apps only

The RequestType property gets a value from the FpcRequestType enumerated type that specifies the type of request to be used in the verification operation of the connectivity verifier. The request can be an HTTP request, a ping request, or a TCP connection request.

This property is read-only.

Syntax

HRESULT get_RequestType(
  FpcRequestType *pRequestType
);
' Data type: FpcRequestType

Property RequestType( _
  ByVal pRequestType As FpcRequestType _
) As FpcRequestType

Property value

Value from the FpcRequestType enumerated type that specifies the type of request to be used in the verification operation of the connectivity verifier.

Error codes

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

Remarks

This property is read-only. It can be set by calling the SetConnectivityRequest method. Its default value is fpcHttpRequest, which indicates that the connectivity verifier sends HTTP requests for Web pages to test connectivity.

If this property is set to fpcHttpConnect, a system policy rule, named Allow HTTP/HTTPS requests from Forefront TMG to selected servers for connectivity verifiers, which belongs to the HTTP Connectivity Verifiers configuration group, must be enabled for the connectivity verifier to work. For information about how to enable a system policy rule by enabling its configuration group, see the Enabled property of the FPCSystemPolicyConfigGroup object.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCConnectivityVerifier

 

 

Build date: 7/12/2010