IFPCProtocolConnection::TCPDirection property
Applies to: desktop apps only
The TCPDirection property gets a value from the FpcConnectionDirectionType enumerated type that specifies the direction in which a TCP connection can be opened. TCP connections can be opened for inbound or outbound traffic.
This property is read-only.
Syntax
HRESULT get_TCPDirection(
FpcConnectionDirectionType *pTCPDirection
);
' Data type: FpcConnectionDirectionType
Property TCPDirection( _
ByVal pTCPDirection As FpcConnectionDirectionType _
) As FpcConnectionDirectionType
Property value
Value from the FpcConnectionDirectionType enumerated type that specifies the direction in which the TCP 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 AddTCP method of an FPCProtocolConnections collection and can be modified by calling the SetTCP method.
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
Build date: 7/12/2010