Microsoft Internet Security and Acceleration Server 2004 SDK

UDPDirection Property of IFPCProtocolConnection[C++]

FPCProtocolConnection.UDPDirection [Visual Basic]

[C++]

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.

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 Values

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.

[Visual Basic]

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.

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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCProtocolConnection