Share via


IFWXConnection::GetSession method

Applies to: desktop apps only

The GetExternalSocketName method returns the session object to which a connection belongs.

Syntax

HRESULT GetSession(
  [out]  IFWXSession **ppSession
);

Parameters

  • ppSession [out]
    Pointer to the session object.

Return value

This method can return one of these values.

  • S_OK
    The method succeeded.

  • FWX_E_TERMINATING
    The socket is already closed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXConnection

 

 

Build date: 7/12/2010