IFPCVpnNetworkL2tpPptpSettings::IdleDisconnectTime property
Applies to: desktop apps only
The IdleDisconnectTime property gets or sets the time, in seconds, after which an inactive connection is closed.
This property is read/write.
Syntax
HRESULT put_IdleDisconnectTime(
long lIdleDisconnectTime
);
HRESULT get_IdleDisconnectTime(
long *plIdleDisconnectTime
);
' Data type: Long
Property IdleDisconnectTime( _
ByVal lIdleDisconnectTime As long, _
ByVal plIdleDisconnectTime As long _
) As Long
Property value
A 32-bit integer value that specifies the time, in seconds, after which an inactive connection is closed.
Error codes
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Remarks
This property is read/write. Its default value is 86,400 seconds (24 hours), and its range of permissible values is from 1 second through 86,400 seconds (24 hours).
Inactive sessions are disconnected only if the UseIdleDisconnectTime property is set to TRUE (VARIANT_TRUE in C++).
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