UDPDirection Property of the IFPCProtocolConnection Interface

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.

[C++]
HRESULT get_UDPDirection(
	FpcUDPConnectionDirectionType* pUDPDirection
);

Parameters

pUDPDirection

Pointer to a variable that on return receives a value from the FpcUDPConnectionDirectionType enumerated type specifying the direction in which the UDP connection can be opened.

Return Value

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

[Visual Basic]
Property UDPDirection As FpcUDPConnectionDirectionType

Property Value

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

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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCProtocolConnection


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.