IFPCProtocolConnection::UDPDirection property

Applies to: desktop apps only

The UDPDirection property gets a value from the FpcUDPConnectionDirectionType enumerated type that specifies the direction in which a UDP connection can be opened. UDP connections can be opened to receive only, to send only, to receive and then send, or to send and then receive.

This property is read-only.

Syntax

HRESULT get_UDPDirection(
  FpcUDPConnectionDirectionType *pUDPDirection
);
' Data type: FpcUDPConnectionDirectionType

Property UDPDirection( _
  ByVal pUDPDirection As FpcUDPConnectionDirectionType _
) As FpcUDPConnectionDirectionType

Property value

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

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 is initially set when the object is created by calling the AddUDP method of an FPCProtocolConnections collection and can be modified by calling the SetUDP method of the 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

FPCProtocolConnection

 

 

Build date: 7/12/2010