RequestType Property of the IFPCConnectivityVerifier Interface
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.
C++
HRESULT get_RequestType(
FpcRequestType* pRequestType
);
Parameters
- pRequestType
Pointer to a variable that on return receives a value from the FpcRequestType enumerated type specifying the type of request to be used in the verification operation of the connectivity verifier.
Return Value
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Property RequestType 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.
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
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010