IFPCProtocolConnection::ICMPCode property

Applies to: desktop apps only

The ICMPCode property gets the ICMP code for the connection. The ICMP code is a subdescriptor of the ICMP type.

This property is read-only.

Syntax

HRESULT get_ICMPCode(
  long *plCode
);
Property ICMPCode( _
  ByVal plCode As long _
) As Long

Property value

A 32-bit integer that specifies the ICMP code.

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 modified by calling the SetICMP method. Its range of permissible values is from 0 through 255.

For the list of ICMP types and codes defined by the IANA, see ICMP Type Numbers.

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

FPCProtocolConnection

 

 

Build date: 7/12/2010