Share via


GetSession Method of the IFWXConnection Interface

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

Syntax

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

Parameters

  • ppSession
    Pointer to the session object.

Return Value

  • S_OK
    The method succeeded.

  • FWX_E_TERMINATING
    The socket is already closed.

Requirements

Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXConnection

Send comments about this topic to Microsoft

Build date: 6/30/2010