SecureNATSessionsCount Property of the IFPCServer Interface

The SecureNATSessionsCount property gets the number of secure network address translation (SecureNAT) sessions running on the server.

HRESULT get_SecureNATSessionsCount(
	long* plCount



Pointer to a variable that on return receives a 32-bit integer specifying the number of SecureNAT sessions running on the server.

Return Value

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

[Visual Basic]
Property SecureNATSessionsCount As Long

Property Value

A 32-bit integer that specifies the number of SecureNAT sessions running on the server.


This property is read-only.


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

Declared in Msfpccom.idl.


Requires Msfpccom.dll.

See Also


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]