Share via


FPCProtocolConnection Object

The FPCProtocolConnection object represents a single connection in a single Microsoft Firewall service protocol. This object is an element of an FPCProtocolConnections collection.

Dd436417.bkbutton(en-us,MSDN.10).png Click here to see the Forefront TMG object hierarchy.

Methods

The FPCProtocolConnection object defines the following methods.

Method Description

Refresh

Reads all the properties of the object from persistent storage, discarding any changes that were not saved.

SetICMP

Sets all of the parameters of an ICMP connection.

SetTCP

Sets all of the parameters of a TCP connection.

SetUDP

Sets all of the parameters of a UDP connection.

Properties

The FPCProtocolConnection object defines the following properties.

Property Description

ICMPCode

Gets the ICMP code for the connection.

ICMPType

Gets the ICMP type for the connection.

PortHigh

Gets a port number designating the high end of the range.

PortLow

Gets a port number designating the low end of the range.

Protocol

Gets a value from the FpcConnectionProtocolType enumerated type that specifies the communication protocol used in the connection.

RawDirection

Gets a value from the FpcUDPConnectionDirectionType enumerated type that specifies the direction in which a raw connection can be opened.

TCPDirection

Gets a value from the FpcConnectionDirectionType enumerated type that specifies the direction in which a TCP connection can be opened.

UDPDirection

Gets a value from the FpcUDPConnectionDirectionType enumerated type that specifies the direction in which a UDP connection can be opened.

Interfaces for C++ Programming

This object implements the IFPCProtocolConnection and IFPCProtocolConnection2 interfaces.

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.

See Also

COM Objects

Send comments about this topic to Microsoft

Build date: 6/30/2010